Danny02 opened a new pull request, #1915: URL: https://github.com/apache/avro/pull/1915
Why: Javas Optional type can not be used in any meaningful way with the reflection-based schema generation. It is for example not possible to write a generic custom encoding. How does it help with resolving the issue: Optional can be used to make fields null safe in their usage. Side effects: I think that this change should not have any side effects, because Optional fields could not have been used in the past. ## What is the purpose of the change Implementing AVRO-3644. ## Verifying this change - *Added test that validates that a correct schema is generated* - *Added test that validates that Optional fields can be serialized and deserialized* ## Documentation - **This is my big question. Is the reflection serialization documented anywhere?** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
