Prisma Class Generator
JSON →A Prisma generator that creates TypeScript class definitions from your Prisma schema, primarily for use with NestJS decorators like @nestjs/swagger and TypeGraphQL. Current version 0.2.11 generates per-model classes with optional separate relational fields. It integrates into the Prisma generate workflow, automatically producing classes that mirror the Prisma model structure. Key differentiator: bridges Prisma's type-only output with NestJS's class- and decorator-based ecosystem, reducing boilerplate when using swagger or GraphQL decorators. Release cadence is sporadic, last updated 2021.
Resources
packageprisma-class-generator ↗
API endpoints
full doc /v1/registry/prisma-class-generator