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 2020/07/21 19:48:00 UTC

[jira] [Created] (BEAM-10547) Schema inference does not find Nullable annotations on getter return type

Kenneth Knowles created BEAM-10547:
--------------------------------------

             Summary: Schema inference does not find Nullable annotations on getter return type
                 Key: BEAM-10547
                 URL: https://issues.apache.org/jira/browse/BEAM-10547
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
            Reporter: Kenneth Knowles
            Assignee: Kenneth Knowles


Since Java 8 a getter can be annotated more precisely, like:

{{public @Nullable Foo getFoo()}}

But the schema field type inference will miss this annotation since it only looks at annotations on the method itself.



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