-
-
Notifications
You must be signed in to change notification settings - Fork 963
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
fix: report correct errors for json schema validation #3085
Conversation
44c1f1f
to
753a47b
Compare
Codecov Report
@@ Coverage Diff @@
## master #3085 +/- ##
==========================================
+ Coverage 77.19% 77.36% +0.17%
==========================================
Files 315 315
Lines 19772 19817 +45
==========================================
+ Hits 15263 15332 +69
+ Misses 3315 3295 -20
+ Partials 1194 1190 -4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
fyi :) in the open source repositories we have a different changelog strategy - here you can use regular commit messages :) |
good to know :-D |
41f0f4f
to
9092101
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, just one question about the messages & variables.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Epic! Are there any backwards compatibility issues that could happen with this and if so how do we deal with them?
753cb87
to
e443928
Compare
I would argue that responding with |
I see these scenarios:
Did I miss something? What should we do to get (3) over the line smoothly in your opinion? |
I don't have a good solution for this. |
I'm fine with breaking it. I don't think anyone really uses it this way. We can probably check in the community and see if it's a problem before deploying it to production? |
I'm using it. Now there is no context information and the messages look like this: The use of How can I now get the params for the translations? |
jsonschema.ValidationError
to errors codes documented heremaxLength
minimum
exclusiveMinimum
maximum
exclusiveMaximum
multipleOf
maxItems
minItems
uniqueItems
type
Related issue(s)
#2974
Checklist
introduces a new feature.
contributing code guidelines.
vulnerability. If this pull request addresses a security vulnerability, I
confirm that I got the approval (please contact
[email protected]) from the maintainers to push
the changes.
works.
Further Comments