-
Notifications
You must be signed in to change notification settings - Fork 4
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 validation error messages for oneOf #12
Conversation
b5aa258
to
9fc8323
Compare
This makes the tests suitable for this PR: OpenDataServices/lib-cove#12 (instead of the larger OpenDataServices/lib-cove#8)
Here are some tests of this, in the lib-cove-bods repo: openownership/lib-cove-bods#8 |
From reading the code it looks good; tho I have limited understanding of the details of this function. Good to see tests in another repo. It would be better if they were in this repo; but I accept given that we recently split up the code into repos and we didn't have time to look at tests fully at that time that that whole area is problematic at the moment anyway. So I've approved, but we should bear all this in mind for future work. |
This is the BODS specific oneOf work from this PR #8
Since this is BODS specific, we should be able to merge/release this without needing to consult other standards.