Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.11.3
-
None
-
None
Description
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?