0.3.0 • Published 2 years ago

@prisma-korea/graphql-schema-generator v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

GraphQL-Schema-Generator for Prisma

CI codecov

Generate GraphQL schema (SDL) from Prisma schema using a custom Prisma generator.

Getting Started

  1. Install this package in your project using:
// pnpm, npm, or yarn
pnpm install @prisma-korea/graphql-schema-generator
  1. Add the generator to the schema.prisma:
generator graphql {
  provider = "graphql-schema-generator"
  createCRUD = "true"
  # output = "./generated" This is default path.
}
  1. Run npx prisma generate to run the generator

  2. Check schema.graphql in ./prisma/generated 🎉

Custom Rules

You can apply custom rules to manipulate behavior. (Some use cases). See this for example.

Contributing

Any contributions are welcome. If you are interested, check out our guidelines.

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.6-rc.1

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago