-
Notifications
You must be signed in to change notification settings - Fork 42
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
Exception raised when supplying invalid json format #255
Comments
I am marking this a bug only, because the documentation of this parameter is already rather explicit, but stacktraces are not suitable for users. To solve it, should we just verify it's a list, or should we add a complete schema validation framework? |
That's a good question and I don't have a strong preference. |
We want to add some sort of validation in the cli at least. |
https://pypi.org/project/schema/ |
When modifying a repository version, you get an exception message if the json format isn't a list of hashes.
Steps to reproduce:
Exception:
The text was updated successfully, but these errors were encountered: