Skip to content

docs: clarify validation before serialization - #3030

Open
nightcityblade wants to merge 1 commit into
marshmallow-code:devfrom
nightcityblade:fix/issue-2189
Open

docs: clarify validation before serialization#3030
nightcityblade wants to merge 1 commit into
marshmallow-code:devfrom
nightcityblade:fix/issue-2189

Conversation

@nightcityblade

Copy link
Copy Markdown

Fixes #2189

Summary

  • clarify that dump expects an already-valid Python object
  • document that load consumes serialized field names and types
  • add a data_key example covering aliased external input

Testing

  • uv run tox -e docs
  • uv run pre-commit run --files docs/upgrading.rst
  • verified the documented data_key load/dump round trip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validation does not occur on serialization documentation issue

1 participant