Closed
Description
When defining a one-to-many relation (ex. User->Vehicles), GraphQL currently expects [String]
on the create/update mutation. Is there a way to create new Vehicles in the same request as creating/updating the User? It seems like GraphQL expects you to pass a list of Vehicle IDs instead of an array of Vehicle data like I would do in a REST call.
I would like to avoid doing multiple API calls if possible. Any ideas on how to accomplish this?