Mutation type issue
I'm trying to mutate something like this with tRPC and Prisma
Then on my backend
I tried putting something like
list.id is just a string but list.cards has a type of Card[] which I'm importing from a file Prisma auto-generated from my schemaThen on my backend
I tried putting something like
z.array(z.object({})) but obviously that doesn't work and it shows this error