Hey all. I am looking for advice on how I can `con...
# orm-help
j
Hey all. I am looking for advice on how I can
connect
multiple Item types to a List type. My client sends me an array of Item objects in the data, and I am unsure of how to handle it on the server. I do have a mutation to connect individual items to lists using
connect
with the passed
id
property, to the list by
id
as well. I have considered that perhaps I should do an UpdateMany... type of mutation on the passed Items, linking each one to the passed List rather than perform a mutation on the List which was my initial challenge.
🚀 1