Ability to update collections/fields with populated data #2353
AlessioGr
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ref: https://discord.com/channels/967097582721572934/1085951288015081512
We should be able to update collections/fields with populated data. E.g.,:
instead of the flattened version:
Use-Case
Imagine you first get a collection from payload, then modify it, then you want to update it again with the modified values.
If you pulled the collection from payload with a higher depth than 0, you're screwed, because then you'd need to manually flatten all relationships/populated values.
This becomes VERY, VERY painful with multiple, recursive relationships/populated values, which is why I'd consider this essential.
Beta Was this translation helpful? Give feedback.
All reactions