Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide default namespace for schema and protocol. #12

Open
jangalinski opened this issue Jan 22, 2024 · 0 comments
Open

Provide default namespace for schema and protocol. #12

jangalinski opened this issue Jan 22, 2024 · 0 comments
Labels
Type: enhancement New feature or request Type: question Further information is requested

Comments

@jangalinski
Copy link
Contributor

Currently, we raise an exception when a top-level schema or protocol just provides a name, not a namespace.
We assume that it is practical impossible to use the schema or protocol (especially when it comes to code generation) without a full-qualified name (namespace + name).

Idea: We could set a default namespace on parser/declaration level that is used when an avro file does not define its own namespace. This would prevent the exception.

@jangalinski jangalinski added Type: enhancement New feature or request Type: question Further information is requested labels Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request Type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant