[ 
https://issues.apache.org/jira/browse/AVRO-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17509074#comment-17509074
 ] 

John Gonyo edited comment on AVRO-3039 at 3/18/22, 8:43 PM:
------------------------------------------------------------

[~KSchoonover] I see the PR was merged into my local fork, but not into the 
main avro repo?


was (Author: jgonyo-snag):
[~KSchoonover] I see the PR was merged into our local fork, but not into the 
main avro repo?

> ClassCache: Cached class map key is too broad
> ---------------------------------------------
>
>                 Key: AVRO-3039
>                 URL: https://issues.apache.org/jira/browse/AVRO-3039
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>    Affects Versions: 1.10.1
>            Reporter: John Gonyo
>            Priority: Major
>
> Currently ClassMap's cache is keyed by the schema full name.  This restricts 
> clients to providing one Plain Old C# Object (POCO) model per schema.  In 
> some cases a client might wish to provide multiple POCO per schema name, 
> perhaps to support multiple versions of the same schema name in the same 
> runtime.
> A fix is to use the full RecordSchema as the key instead of just the name.
> Additionally, there's a bug in ReflectDefaultReader that can access the 
> incorrect class member property.  Only the reader schema should be used to 
> determine the correct DotNetClass for reading.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to