lucid_frog
03/10/2018, 1:24 PMset: Override the existing list with an entirely new list.
https://www.prismagraphql.com/docs/reference/prisma-api/mutations-ol0yuoz6go#updating-nodes
But in practise, let’s say I have numbers: [1, 2, 3, 4]
and then proceed to do a numbers: { set: [9] }
(in a mutation.update) I would expect numbers
to return [9]
, but instead, I get numbers: [9, 2, 3, 4]
Any idea as to why that is ?nilan
03/10/2018, 1:26 PMlucid_frog
03/10/2018, 1:44 PM