Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Conversation

@erich-nuffsaid
Copy link

Fix for #209

Going to calculate the sparse field before calling the schema constructor rather than calling _init_fields again because they've labelled it explicitly as a private API.

Also, now if both and include and field[primary_type] parameters are passed, the included relationship must be present in the fields parameter because relationships are fields

…chema.

Marshmallow internals have changed such that modifying the
attribute after Schema._init_fields has been called will have no impact
on what ultimately (de)serialized.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant