We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Possible feature: add a Field parameter that would make the field active for validation/deserialization but not appear in serialization output.
Field
This came up in a discussion here: marshmallow-code/flask-marshmallow#5 (comment) (though we used the term "write-only", which is a misnomer).
Related to #61 .
EDIT: Fix URL to comment.
The text was updated successfully, but these errors were encountered:
Added in #131
Sorry, something went wrong.
is there a way to have dump_only fields throw an error if they're passed on to load?
load
@Lacrymology, this could be a sub-use case of the check_unknown_fields example: http://marshmallow.readthedocs.io/en/latest/extending.html#validating-original-input-data
check_unknown_fields
It seems the authors don't see this as a feature that should be in the core, available through a parameter, but leave this to user code (#524).
No branches or pull requests
Possible feature: add a
Field
parameter that would make the field active for validation/deserialization but not appear in serialization output.This came up in a discussion here: marshmallow-code/flask-marshmallow#5 (comment) (though we used the term "write-only", which is a misnomer).
Related to #61 .
EDIT: Fix URL to comment.
The text was updated successfully, but these errors were encountered: