Robert Yokota created AVRO-4091:
-----------------------------------

             Summary: Allow previously parsed schemas to be referenced with 
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: Robert Yokota


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 change 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, cannot interoperate well with C# 
applications.

 



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

Reply via email to