[ 
https://issues.apache.org/jira/browse/AVRO-4091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oscar Westra van Holthe - Kind updated AVRO-4091:
-------------------------------------------------
    Fix Version/s:     (was: 1.13.0)

> Allow previously parsed schemas to be referenced when parsing a schema
> ----------------------------------------------------------------------
>
>                 Key: AVRO-4091
>                 URL: https://issues.apache.org/jira/browse/AVRO-4091
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: csharp
>    Affects Versions: 1.11.3
>            Reporter: Robert Yokota
>            Assignee: Zoltan Csizmadia
>            Priority: Blocker
>             Fix For: 1.12.1
>
>
> Currently the C# Avro library does not have a way to parse a new schema that 
> refers to named schemas that have been previously parsed.
> The equivalent in the Java Avro library is to construct an instance of 
> {{Schema.Parser}} and to use the same parser instance to parse the referenced 
> schemas before the referring schema.
> The change that is needed is to simply modify the following method in 
> {{Schema.cs}} from internal to public:
>  
> {{internal static Schema Parse(string json, SchemaNames names, string 
> encspace)}}
>  
> I'll submit a PR with this change.
> Without this change, tools that allow Avro schemas to reference one another, 
> such as the [Confluent Schema 
> Registry|http://github.com/confluentinc/schema-registry], cannot interoperate 
> well with C# applications.
>  



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

Reply via email to