marshmallow-code / marshmallow-code/marshmallow

Propogate raw input data passed to the `Schema.load` to the List's inner deserialize

Open
#1,629 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
738
Avg merge
1d 23h
Merged PRs (30d)
7

Description

It would be useful to me. Are there any concerns about this?
It works this way for Schema.dump. Raw input data is propagated to the List's inner serialize.
https://github.com/va-dev/marshmallow/blob/dev/src/marshmallow/fields.py#L700
And for load raw input data is ignored:
https://github.com/va-dev/marshmallow/blob/dev/src/marshmallow/fields.py#L710

Contributor guide

Open the contributing guide

Research direction

Start in src/marshmallow/fields.py around lines 700 and 710, comparing how Schema.dump passes raw input data to List's inner serialize with how Schema.load handles it. Confirm the intended load behavior and its implications, then update the relevant implementation and add or adjust coverage for propagation to the List's inner deserialize.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.