[
https://issues.apache.org/jira/browse/AVRO-4091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Yokota updated AVRO-4091:
--------------------------------
Summary: Allow previously parsed schemas to be referenced when parsing a
schema (was: Allow previously parsed schemas to be referenced with parsing a
schema)
> 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.13.0
>
>
> 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)