-
-
Notifications
You must be signed in to change notification settings - Fork 819
ENH: Make the schema validation error for non-existing params more informative #2568
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
Merged
joelostblom
merged 27 commits into
vega:master
from
joelostblom:schema-validation-error
Feb 21, 2023
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
555a6c2
Make the schema validation error for non-existing params more informa…
joelostblom 430b17b
Neatly format the existing params as a table
joelostblom 45f11b6
Use more reliable way of returning the non-existing param name
joelostblom 95b1c60
Break out table formatting into its own function
joelostblom 9bd738b
Add changes into code generation file
joelostblom 4eeac63
Remove mistakingly added old lines
joelostblom 8dbf794
Merge branch 'master' into schema-validation-error
joelostblom 3a41601
Merge branch 'altair-viz:master' into schema-validation-error
joelostblom f994245
Only show existing parameters if an unknown parameter was used
joelostblom bee7b8b
Update tests to check for detailed parameter errors
joelostblom 4395f58
Trim error messages to be more to the point by removing unhelpful info
joelostblom 8848228
Add a general heading to error messages with multiple errors so that …
joelostblom 1ce2bcf
Remove "self" from listed params
joelostblom 31948e8
Blake format and use cleandoc for proper indendation in the source
joelostblom 750bfd1
Update old test message to remove what is no longer in the error message
joelostblom 946ca90
Merge branch 'master' into schema-validation-error
joelostblom 8e9e7c7
Move invalid y option tests next to each other
joelostblom 7a89d76
Black format
joelostblom 01c517f
Update test to account for missing self
joelostblom f9b4f3b
Refine the message construction and move it to the else clause where …
joelostblom 3718432
Remove flake8 test for multline line strings with trailing whitespace
joelostblom 3022f8c
Add latest updates to source generator file as well
joelostblom 33296b0
Merge branch 'master' into schema-validation-error
joelostblom b994959
Remove redundant schema_path variable and allow unknown encodings par…
joelostblom afd614b
Remove redundant assert
joelostblom 4e8bac5
Add latest updates to source generator file as well
joelostblom 187c817
Include changes to tests in tools code generation file
joelostblom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.