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
Could you please provide an example for a mutation that recursively creates an object? On the Drupal side we expect the "A" bundle to contain a field referencing the "B" bundle.
Note that XXXInput has the exact same structure and types as XXX.
With $a = { b: { z: "example" } } it should return { id: 1234, b: { id: 3456, z: "example" } } (e.g.). In particular, A and B should be created as distinct Drupal nodes.
We already had a look at the following resources, but without finding examples for anything but the most simple cases:
Could you please provide an example for a mutation that recursively creates an object? On the Drupal side we expect the "A" bundle to contain a field referencing the "B" bundle.
Expected usage from the GraphQL side:
Note that
XXXInput
has the exact same structure and types asXXX
.With
$a = { b: { z: "example" } }
it should return{ id: 1234, b: { id: 3456, z: "example" } }
(e.g.). In particular, A and B should be created as distinct Drupal nodes.We already had a look at the following resources, but without finding examples for anything but the most simple cases:
The text was updated successfully, but these errors were encountered: