How to define nested objects in nexus-prisma mutation?


#1

Hi!

I’ve got a model which has a nested field. When defining the mutation to create this model i wou.,d like to pass an array of objectIds.

How would i define this in the args block of the t.field?

Cheers, kai


#2

Found it. { list: true} !

You should improve the docs!