-
Notifications
You must be signed in to change notification settings - Fork 4
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
validation issues #254
Comments
Hi Martin, The old versions of marshmallow and argschema particularly in bigfeta are a pain point -- I have been looking into modernizing them, but a lot of behavior has changed that makes it more difficult to follow through. For specific questions with this implementation:
Per marshmallow's documentation, anything that can be cast as an int will be a valid input to an integer field unless it is given Thank you, |
Hi,
I am trying to write some tests and found some weird schema validation behavior:
OneOf does not seem to work:
"matchModelType" : "This type clearly does not exist!" throws no validation error for a
MatchDerivationParameters
object.a float validates even if
Int
is required.I can only force validation errors when providing the completely wrong type (str vs. int).
From the dependencies (bigfeta and asap) I am stuck with rather old versions of
argschema
andmarshmallow
and I wonder if that could be a reason.Have you observed something similar before?
The text was updated successfully, but these errors were encountered: