You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Khrystyna Popadyuk (Jira)" <ji...@apache.org> on 2022/07/18 02:06:00 UTC
[jira] [Created] (AVRO-3580) .NET/#C: Support union (nullable) for converters for ReflectReader/Writer
Khrystyna Popadyuk created AVRO-3580:
----------------------------------------
Summary: .NET/#C: Support union (nullable) for converters for ReflectReader/Writer
Key: AVRO-3580
URL: https://issues.apache.org/jira/browse/AVRO-3580
Project: Apache Avro
Issue Type: Improvement
Components: csharp
Reporter: Khrystyna Popadyuk
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)