Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Latest commit

 

History

History
26 lines (20 loc) · 766 Bytes

File metadata and controls

26 lines (20 loc) · 766 Bytes

pothos-generator

Generator that emits a Pothos GraphQL schema from your defined Prisma schema. Provides enhanced type-safety and error detection when the generated GraphQL schema's state diverges from your Prisma schema.

Usage

npm start # Assume default schema and output paths
# or
npm start -- --schema ./prisma/schema.prisma --output ./example/schema
# or
npm start -- -s ./prisma/schema.prisma -o ./example/schema
# or a subset of these arguments

Prisma migrate

prisma migrate dev --name init

TODO: