prisma-generator-model-service-v2
v0.2.4
Published
Provide a description about your generator
Downloads
231
Readme
Prisma Custom Generator.
This is a custom generator for Prisma, made to write templates to auto-generate services and models for your Angular application
- Add the following snippet to you schema.prisma file
// right after ths statement
generator client {
...
}
generator customService {
provider = "node node_modules/prisma-generator-model-service"
}
- Run the following commandf
npx prisma generate