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

Only error on exact range(s) of disallowed additional properties #711

Open
uncenter opened this issue Dec 17, 2024 · 0 comments
Open

Only error on exact range(s) of disallowed additional properties #711

uncenter opened this issue Dec 17, 2024 · 0 comments

Comments

@uncenter
Copy link
Contributor

uncenter commented Dec 17, 2024

When a schema disallows additional properties and the file fails validation due to "Additional properties not allowed...", the entire file is marked as erroring - instead of just the range (in this case lines 17-18) of the additional properties causing the error in the first place.

CleanShot 2024-12-17 at 10 54 35

EDIT: Somewhat related to #699.

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