Nested many fields and `pass_original`
See original GitHub issueI took a quick look at the code and I’m not sure it’s a trivial change or if you’d be interested but in my application, I want to verify that no unwanted fields are passed. When I have a nested field with many=True
, then I cannot check each one individually for unwanted data being passe. This is because original_data
is the list of objects and I’m unsure how I can correctly identify which bit of original_data
corresponds to the data
.
What are your thoughts?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
marshmallow.schema — marshmallow 3.19.0 documentation
Nested fields can be represented with dot delimiters. :param many: Should be set to `True` if ``obj`` is a collection so that the...
Read more >fields.Nested should optionally pass the parent object ... - GitHub
The legacy structure I'm adapting can have nested fields at multiple levels, and it'd be really great to understand which one a field...
Read more >JavaScript Flatten Deeply Nested Array of Objects Into Single ...
We want to bring all the nested objects into the array at the root level. Following is the example array familyTree that has...
Read more >Nested ManyToMany Field in Django - python - Stack Overflow
Using the Django built-in admin interface I would like to be able to input all the different translations for the FAQs while being...
Read more >Modeling workflow input and output path processing with data ...
Developers build Step Functions workflows to orchestrate multiple services ... Use the ResultPath to store a Task result in a nested field ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ohhh,
run_validator
already has index, so all you’d need to do is an:if index is None then original_data else original_data[index]
and that could be an option? or I think a reasonable default? that or pass the index.Thanks!