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

.NET/#C: Support union (nullable) for converters for ReflectReader/Writer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • csharp
    • None

    Description

      For .NET/#C nullable types is supported by union.

      But union is not supported for properties with converter (general or attribute). As a result to support nullable types we need have separate converter for it. As a result it cause a lot of code duplicate.

      For example for DateTime type there should be one converter and for DateTime? another one.

      Support union for properties with converters can be beneficial for those who use ReflectReader/Writer.

      Attachments

        Issue Links

          Activity

            People

              khrystyna.popadyuk@gmail.com Khrystyna Popadyuk
              khrystyna.popadyuk@gmail.com Khrystyna Popadyuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: