Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10547

Schema inference does not find Nullable annotations on getter return type

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • Missing
    • sdk-java-core

    Description

      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.

      Attachments

        Activity

          People

            kenn Kenneth Knowles
            kenn Kenneth Knowles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: