We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a schema like
"const": "a value"
and a JSON document like
"a different value"
The error message is must equal "a different value" instead of must equal "a value".
must equal "a different value"
must equal "a value"
Problem is at keywords.go:217.
The text was updated successfully, but these errors were encountered:
fix(const error): error reports what const must equal instead of supp…
9b9427b
…lied value closes #34
test(ValError): add test to check validation error messages
6dda53c
confirms #34 is fixed, puts fourth a pattern for testing other error messages. I've moved ValError into it's own file for added clarity.
Thanks @b5!
Sorry, something went wrong.
No problem. Thanks for filing such an easy-to-follow issue!
b5
Successfully merging a pull request may close this issue.
Given a schema like
and a JSON document like
The error message is
must equal "a different value"
instead ofmust equal "a value"
.Problem is at keywords.go:217.
The text was updated successfully, but these errors were encountered: