Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3041

Reflect: Default converters are not used for nullable unions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.10.1
    • None
    • csharp
    • None

    Description

      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.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgonyo-snag John Gonyo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: