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

Improve handling of multiple and nested errors #4

Merged
merged 5 commits into from
Mar 18, 2018
Merged

Conversation

Firehed
Copy link
Owner

@Firehed Firehed commented Mar 18, 2018

InputObjects being validated may now choose to throw an InputException during the validate/evaluate process, better allowing for user-defined structures to indicate their validation errors. The convention is such that any InputExceptions caught during the outer validation will prefix that InputObject's corresponding input key on to the outermost error.

@coveralls
Copy link

coveralls commented Mar 18, 2018

Coverage Status

Coverage increased (+1.5%) to 90.26% when pulling 26954ed on handle_nested into 6607eac on master.

@Firehed Firehed merged commit 6870805 into master Mar 18, 2018
@Firehed Firehed deleted the handle_nested branch March 18, 2018 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants