-
-
Notifications
You must be signed in to change notification settings - Fork 588
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
ErrorTree assumes one error per validator #442
Comments
I think I ran into this today with this.
this happens because when creating the error tree container, the path Would checking to see if an error already exists at the level and appending another ValidationError object be possible? |
3627cc11 Fix draft3 as well, which didn't have allOf. eb1618b5 Fix misspelled reference in infinite-loop-detection tests d7821b62 remove duplicate files added by mistake in PR#446 a27c949b Merge pull request #446 from json-schema-org/ether/infinite-loop-detection 371fcaba Add a test to demonstrate the invalidity of a naive infinite loop detection algorithm 45436c6c Add a test to demonstrate the invalidity of a naive infinite loop detection algorithm 14cfcde1 Merge pull request #445 from json-schema-org/ether/naive-ref-replacement 128146da test that literal $refs are not evaluated as keywords 71ba357b Merge pull request #442 from jimblackler/master a6f759aa Update README.md 0f35b324 Merge pull request #441 from plxel/patch-1 d36b8b97 Update README.md d657d2b8 Update index.js 6a925b8d change folder to baseUriChange git-subtree-dir: json git-subtree-split: 3627cc1178c0ff03d2e3eacf4162d32091d21763
@Julian Any updates on this issue? I have this schema and instance:
The ValidationError for "from" is missing. |
Not if the ticket is still open, but I'm more than happy to review a proposed change (or design)! |
The stdlib’s If you use a similar multidict class to back ErrorTree, you can also make |
This seems like a correct assumption (both at the minute and likely forever, which probably should be better documented) but if it ever were not the case, it'd silently not do nice things, which is not very nice.
EDIT: it's not the case
The text was updated successfully, but these errors were encountered: