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

Daniel Kulp resolved AVRO-2639.
-------------------------------
    Fix Version/s: 1.10.0
       Resolution: Fixed

> SpecificCompiler option to generate Optionals only when nullable
> ----------------------------------------------------------------
>
>                 Key: AVRO-2639
>                 URL: https://issues.apache.org/jira/browse/AVRO-2639
>             Project: Apache Avro
>          Issue Type: New Feature
>          Components: java
>    Affects Versions: 1.9.1
>            Reporter: Mike Roberts
>            Priority: Minor
>             Fix For: 1.10.0
>
>
> 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.



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

Reply via email to