kojiromike opened a new pull request #1433: URL: https://github.com/apache/avro/pull/1433
Raise an InvalidDefault exception when attempting to parse an enumschema with a default value that isn't one of the enum's symbols. ### Jira - [x] Addresses [AVRO-3229](https://issues.apache.org/jira/browse/AVRO-3229) - [x] References it in the PR title. - [x] Adds no dependency ### Tests - [x] Adds a unit test to ensure the schema is invalid as expected. ### Commits - [x] Commits all reference the Jira issue. - [x] Commits follow the guidelines from "[How to write a good git commit message](https://chris.beams.io/posts/git-commit/)": 1. Subject is separated from body by a blank line 1. Subject is limited to 50 characters (not including Jira issue reference) 1. Subject does not end with a period 1. Subject uses the imperative mood ("add", not "adding") 1. Body wraps at 72 characters 1. Body explains "what" and "why", not "how" ### Documentation - [x] N/A -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
