Description
When `gettersReturnOptional` all getters return `Optional`, not just the getters for nullable fields.
It would be nice to add a configuration option (`gettersReturnOptionalOnlyForNullable`?) that made `SpecificCompiler` do this. It would make the Java code more accurately reflect the underlying schema.
Attachments
Issue Links
- duplicates
-
AVRO-2745 Return optional through getters for nullable fields only
- Closed
- links to