John Gonyo created AVRO-3041:
--------------------------------

             Summary: Reflect: Default converters are not tried for nullable 
unions
                 Key: AVRO-3041
                 URL: https://issues.apache.org/jira/browse/AVRO-3041
             Project: Apache Avro
          Issue Type: Bug
          Components: csharp
            Reporter: John Gonyo


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.3.4#803005)

Reply via email to