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

Improve validation error messages for oneOf #12

Merged
merged 10 commits into from
Mar 25, 2019
Merged

Conversation

Bjwebb
Copy link
Member

@Bjwebb Bjwebb commented Mar 22, 2019

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.

@Bjwebb Bjwebb requested review from rhiaro and odscjames March 22, 2019 05:39
Bjwebb added a commit to openownership/lib-cove-bods that referenced this pull request Mar 22, 2019
This makes the tests suitable for this PR:
OpenDataServices/lib-cove#12
(instead of the larger
OpenDataServices/lib-cove#8)
@Bjwebb
Copy link
Member Author

Bjwebb commented Mar 22, 2019

Here are some tests of this, in the lib-cove-bods repo: openownership/lib-cove-bods#8

@odscjames
Copy link
Collaborator

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.

@Bjwebb Bjwebb merged commit 4dbfd5f into master Mar 25, 2019
@Bjwebb Bjwebb deleted the cove-bods-16-oneof-only branch March 25, 2019 05:18
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.

2 participants