You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The entity is created but child entities are not validated and not created. Seems like resolver is executed right before save after $item was persisted (I have read the docs but still don't understand when exactly, after/before what stage, the resolver is executed).
How to create a mutation that creates nested relations (one/any level) ?
The text was updated successfully, but these errors were encountered:
I want to create child entities (fields) in the same mutation
but I get error
I can't and don't want to use IRIs because it will require multiple mutations (server requests).
• Entity/Resource
CollectionTypeMutationResolver
is empty (just return).•
collectionTypeFieldInput
type (not so relevant)I tried to rename arg to
"createFields"
to not match entity property, to bypass the "Nested documents are not allowed".Then in resolver to populate entity
fields
property fromcreateFields
mutation argThe entity is created but child entities are not validated and not created. Seems like resolver is executed right before save after
$item
was persisted (I have read the docs but still don't understand when exactly, after/before what stage, the resolver is executed).How to create a mutation that creates nested relations (one/any level) ?
The text was updated successfully, but these errors were encountered: