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

Fix oneOf error messages (test failures caused by new schema) #69

Open
Bjwebb opened this issue Dec 7, 2022 · 0 comments
Open

Fix oneOf error messages (test failures caused by new schema) #69

Bjwebb opened this issue Dec 7, 2022 · 0 comments

Comments

@Bjwebb
Copy link
Contributor

Bjwebb commented Dec 7, 2022

Running SCHEMA_BRANCH=336-november-feature-update py.test results in 5 tests failing.

These are all due to error messages not displaying as expected. This is due to the new schema's use of oneOf. A lot of messages are now replaced with "X is not valid under any of the given schemas". It's possible to get at the underlying error messages and display those, which we already do for BODS and OCDS.

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

No branches or pull requests

1 participant