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:03:00 UTC

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

     [ https://issues.apache.org/jira/browse/BEAM-11609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenneth Knowles updated BEAM-11609:
-----------------------------------
    Issue Type: Improvement  (was: Bug)

> 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:
> ```java
> @DefaultSchema(AutoValueSchema.class)
> @AutoValue
>  class Example
> { 
>   abstract int id();
>   static Example create(int id) \\{ return new AutoValue_Example(id); }
> }
> ```



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