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/08/04 03:38:00 UTC
[jira] [Work started] (AVRO-3580) .NET/#C: Support union (nullable) for converters for ReflectReader/Writer
[ https://issues.apache.org/jira/browse/AVRO-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on AVRO-3580 started by Khrystyna Popadyuk.
------------------------------------------------
> .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
> Assignee: Khrystyna Popadyuk
> Priority: Trivial
>
> 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)