How to implement pagination in NestJS with PrismaORM
Should I change the pattern with the repository with nestjs prisma?
Any other way recommended?
How to define relations in entities , when using nestjs+prisma?
In nestjs’s document they can define relastions with typeorm like this
How to validate nestjs request body with DTO when using Prisma
How do I prevent a client from sending an id in the UserUpdateDto. The User object contains an id (among other things) that I don’t want them to be able to update. However, despite what I’ve tried below, they can still pass an id in the body and that updates the property.
errror occur at prisma while i used nestjs
npm start