Generates models from Prisma schemas using class-validator and class-transformer.
yarn add prisma-typestack
Add the following to your prisma.schema
file.
generator class_validator {
provider = "prisma-typestack"
output = "./src/generated-models" // Optional
}