Eugenio Berretta

Results 43 comments of Eugenio Berretta

Yes, I was pointing out that in the documentation you could have written exactly that.

> This can be possibly be created using a middleware for now(thanks @mhwelander for the example) > > ```ts > import { PrismaClient } from "@prisma/client"; > const prisma =...

For now, I implemented something similar to the proposed middleware (I just added things such as **count** and made the relation that applies to it an array parameter). To solve...