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

Tom Bruns updated AVRO-3941:
----------------------------
    Component/s: csharp

> C# implementation of avrogen throws an exception if the schema file does not 
> contain a namespace 
> -------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-3941
>                 URL: https://issues.apache.org/jira/browse/AVRO-3941
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: compatibility, csharp
>    Affects Versions: 1.11.3
>            Reporter: Tom Bruns
>            Priority: Major
>
> The AVRO spec does not require a namespace and the java implementation of 
> avrogen successfully generates a java POJO class when the schema file does 
> not have one.
> The issue is in CodeGen.cs around line 896 and is because of the use of 
> CodeNamespace that requires one.
> Would it be acceptable to submit a PR that optionally adds a "default" 
> namespace (ex: SchemaHadNoNamespace)  if the schema file does not have one?
>  



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

Reply via email to