[
https://issues.apache.org/jira/browse/AVRO-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17509075#comment-17509075
]
John Gonyo edited comment on AVRO-3041 at 3/18/22, 8:44 PM:
------------------------------------------------------------
[~KSchoonover] I see the PR was merged into my local fork, but not into the
main avro repo?
was (Author: jgonyo-snag):
[~KSchoonover] I see the PR was merged into our local fork, but not into the
main avro repo?
> Reflect: Default converters are not used for nullable unions
> ------------------------------------------------------------
>
> Key: AVRO-3041
> URL: https://issues.apache.org/jira/browse/AVRO-3041
> Project: Apache Avro
> Issue Type: Bug
> Components: csharp
> Affects Versions: 1.10.1
> Reporter: John Gonyo
> Priority: Major
>
> Default converters can be added for a given Avro type and a Property type.
> For example, to map a long to a DateTimeOffset. However, if the class
> property is nullable, the default converter is not used.
>
> Avro reflection should find the converter to use for nullable primitives. It
> can also be helpful and provide automatic translation from non-nullable
> converters to nullable ones. This allows a client to create one non-nullable
> converter that can be used for nullable properties.
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)