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

Support hiding annotation keywords when reporting errors #1271

Open
Julian opened this issue Jun 17, 2024 · 0 comments
Open

Support hiding annotation keywords when reporting errors #1271

Julian opened this issue Jun 17, 2024 · 0 comments
Labels
Dialects v2 Issues which will likely be addressed as part of reworked dialect support Error Reporting Issues related to clearer or more robust validation error reporting

Comments

@Julian
Copy link
Member

Julian commented Jun 17, 2024

Sometimes a schema contains annotation-only keywords (particularly e.g. description or $comment) which effectively serve no purpose when reporting validation errors and essentially make the output longer / harder to read through.

While it would be nice if we had some even more fancy way of indicating what parts of the schema are relevant (e.g. via syntax highlighting and/or direct "arrow" pointing), a nice "cheaper" option would be to be able to render schemas without their annotation keywords (configurably).

@Julian Julian added Error Reporting Issues related to clearer or more robust validation error reporting Dialects v2 Issues which will likely be addressed as part of reworked dialect support labels Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dialects v2 Issues which will likely be addressed as part of reworked dialect support Error Reporting Issues related to clearer or more robust validation error reporting
Projects
None yet
Development

No branches or pull requests

1 participant