Khrystyna Popadyuk created AVRO-3685:
----------------------------------------

             Summary: .NET/C#: ClassCash can not load two types with the compex 
type properties that has same name but different type
                 Key: AVRO-3685
                 URL: https://issues.apache.org/jira/browse/AVRO-3685
             Project: Apache Avro
          Issue Type: Bug
            Reporter: Khrystyna Popadyuk


When load two types that have complex type properties with:
 * same name
 * different type

Only first one is loaded. As a result only one type can be serialized or 
deserialized.

 

It happens because of this check 
[https://github.com/KhrystynaPopadyuk/avro/blob/dee749bde457ba8760e0e5e1e2c1d1844610f2ee/lang/csharp/src/apache/main/Reflect/ClassCache.cs#L223]

That code check load or not type base on property name.

Unit test that illustrate bug:



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to