I have a type Company with a field gallery which is a list if File (images)
The gallery has 3 images. I want to add 2 images so there is 5 in total.
I wrote an update mutation but it replaced the full gallery list with my new image list instead of concatenate old and new list. I have solved this by getting old/current gallery by query, add my images to it in client and then update the full list in mutation.
My question was if there is a way to write a mutation so that I pass my new image IDs and GQL handles the ‘concatenation’ server side.