[
https://issues.apache.org/jira/browse/AVRO-1961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15703263#comment-15703263
]
Clueless Joe commented on AVRO-1961:
------------------------------------
Hi Niels
The changes I made are visible there https://github.com/apache/avro/pull/165.
They do the following: a getter for Foo foo returns Optionnal<Foo> when foo is
nullable and gettersReturnOptionalOnNullableFields is set to true.
Furthermore, I didn't find any way in the current tests to generate some pojos
to make sure they fit what I expect. How should I do this ?
What do you think of it ?
Best regards
cluelessjoe
> [JAVA] Generate getters that return an Optional
> -----------------------------------------------
>
> Key: AVRO-1961
> URL: https://issues.apache.org/jira/browse/AVRO-1961
> Project: Avro
> Issue Type: New Feature
> Reporter: Niels Basjes
> Assignee: Niels Basjes
> Priority: Minor
>
> A colleague of mine indicated that having getters that return an Optional
> (java 8 thingy) would be very useful for him.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)