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

Add a strict parsing mode #63

Closed
davydog187 opened this issue Mar 4, 2022 · 1 comment · Fixed by #67
Closed

Add a strict parsing mode #63

davydog187 opened this issue Mar 4, 2022 · 1 comment · Fixed by #67

Comments

@davydog187
Copy link
Member

The Avro spec is pretty loose in what you're allow to include in a schema. This can be unhelpful when you're trying to write a schema and want the parser to give you detailed information on what is a recognized field versus one that will be ignored.

In #62 I began to add a strict check that any additional fields on a schema would raise an exception. We cannot do this by default as it may cause issues with interop between languages. Instead, we can support this feature by add a strict mode that can be turned on as an option to the parser strict: true.

@davydog187
Copy link
Member Author

See f491098 which removes strict parsing and refers to this commit for future development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant