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

[#90] improve error messages #91

Merged
merged 5 commits into from
Jun 5, 2020

Conversation

jfacorro
Copy link
Contributor

Description

Add internal errors for oneOf, allOf and anyOf to allow the user to figure out where the specific validation failed.

Fixes #90.

Makefile Show resolved Hide resolved
src/jesse_schema_validator.hrl Show resolved Hide resolved
src/jesse_validator_draft4.erl Outdated Show resolved Hide resolved
Copy link
Contributor

@seriyps seriyps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! But please add a couple of tests!

Makefile Show resolved Hide resolved
src/jesse_validator_draft4.erl Outdated Show resolved Hide resolved
src/jesse_validator_draft4.erl Show resolved Hide resolved
@seriyps seriyps merged commit af7552c into for-GET:master Jun 5, 2020
This pull request was closed.
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.

Improving the error messages from jesse when using oneOf/anyOf
2 participants