Skip to content

Generates models from Prisma schemas using class-validator and class-transformer

Notifications You must be signed in to change notification settings

alexandermendes/prisma-typestack

Repository files navigation

Prisma TypeStack

Generates models from Prisma schemas using class-validator and class-transformer.

Installation

yarn add prisma-typestack

Usage

Add the following to your prisma.schema file.

generator class_validator {
  provider = "prisma-typestack"
  output   = "./src/generated-models" // Optional
}

About

Generates models from Prisma schemas using class-validator and class-transformer

Resources

Stars

Watchers

Forks

Packages

No packages published