do I really have to write updateAddress separately...
# prisma-whats-new
j
do I really have to write updateAddress separately? Or is there a way for nested updates?
a
You could use a nested mutation, like:
Copy code
mutation {
  updateUser(
    data: {
      address: {
        update: {
          data: {
            ...
          }
          where: {
            ...
          }}
      }
    }
  )
}
j
hmm, thanks, seems I’ve missed this part in the tutorials 🙂
a
No worries. Glad, I could help 🙂
j
@andre do you perhaps have some links to any docs on the above?
a
j
is this only for prisma, or is it valid even for graphcool service?
a
I think it is Prisma exclusive.