Skip to content

wfloat/pothos-generator

Repository files navigation

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:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published