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

Figure out how to print what schema file is the source of an error #20

Open
robherring opened this issue Aug 5, 2019 · 2 comments
Open

Comments

@robherring
Copy link
Member

The validation error messages are hard to understand. Part of the problem is how track down what schema causes an error.

We have the top schema file already available, but any $ref is not followed.

@AlexanderStein
Copy link

Is commit c38438e ("dt-validate: Print the schema file causing the error", 2020-08-19) the fix for this?

@robherring
Copy link
Member Author

Partially, but really I'd like $ref's to be followed and possibly go down to the exact schema that's causing the error. We have the "schema path" in the error info, but that doesn't start at the top of the file necessarily.

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

2 participants