Kyron
01/31/2021, 5:59 PM{ where: { group: { name: 'A' } } }
and { where: { user: { id: 1 } } data: { groups: { connect: { name: 'A' } } } }
for example, but outside of that, their query should either be overridden with their allowed filters, or guarded againstSwapnull
01/31/2021, 6:27 PMKyron
01/31/2021, 6:39 PMrestrictToUser()
and restrictToUserGroup()
being runMarcello
01/31/2021, 7:52 PMKyron
01/31/2021, 8:03 PM