-
Notifications
You must be signed in to change notification settings - Fork 183
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
New validation lib doesn't reject unwanted properties #239
Comments
Ya, I believe that was intentional on my side to follow the lose nature of This would be another validator similar to |
Good choice 👍 That enables you to pass around objects without validating every single property every time. I think that's a good default. For our case in this SDK, a |
I added a |
Uses updated Fusspot's strictShape assertion. Closes #239.
Uses updated Fusspot's strictShape assertion. Closes #239.
Uses updated Fusspot's strictShape assertion. Closes #239.
@kepta I noticed that the new validation lib does not reject unwanted properties. For example, I can send a request to
Datasets#listDatasets
with awaypoints
property, and there's no error.Do you think we should make it more strict, so only properties specified in the schema are allowed? Or do you think we should keep it loose?
The text was updated successfully, but these errors were encountered: