You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2021/03/31 23:04:00 UTC

[jira] [Commented] (BEAM-11609) AutoValueSchema does not support arbitrary named getters.

    [ https://issues.apache.org/jira/browse/BEAM-11609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17312762#comment-17312762 ] 

Kenneth Knowles commented on BEAM-11609:
----------------------------------------

I'm unclear on what is expected and what happens. Can you add more detail?

> AutoValueSchema does not support arbitrary named getters.
> ---------------------------------------------------------
>
>                 Key: BEAM-11609
>                 URL: https://issues.apache.org/jira/browse/BEAM-11609
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Daniel Collins
>            Priority: P2
>
> AutoValueSchema fails to detect getters with non-pojo names.
>  
> Example:
> {code}
> @DefaultSchema(AutoValueSchema.class)
> @AutoValue
>  class Example
> { 
>   abstract int id();
>   static Example create(int id) \\{ return new AutoValue_Example(id); }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)