[ 
https://issues.apache.org/jira/browse/AVRO-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17509075#comment-17509075
 ] 

John Gonyo commented on AVRO-3041:
----------------------------------

[~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)

Reply via email to