You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by GitBox <gi...@apache.org> on 2022/10/18 18:02:55 UTC

[GitHub] [avro] Danny02 opened a new pull request, #1915: AVRO-3644: [java] Support java.util.Optional in reflect package

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: dev-unsubscribe@avro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [avro] RyanSkraba merged pull request #1915: AVRO-3644: [java] Support java.util.Optional in reflect package

Posted by GitBox <gi...@apache.org>.
RyanSkraba merged PR #1915:
URL: https://github.com/apache/avro/pull/1915


-- 
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: dev-unsubscribe@avro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org