Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add community generators section #1122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions docs/prisma.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: Prisma Integration
title: Prisma Integrations
sidebar_label: Prisma
---

TypeGraphQL provides an integration with Prisma by the [`typegraphql-prisma` package](https://www.npmjs.com/package/typegraphql-prisma).
# typegraphql-prisma
TypeGraphQL provides one generator package for Prisma-the [`typegraphql-prisma` package](https://www.npmjs.com/package/typegraphql-prisma).

It generates the type classes and CRUD resolvers based on the Prisma schema, so you can execute complex queries or mutations that corresponds to the Prisma actions, without having to write any code for that.

Expand Down Expand Up @@ -50,3 +51,8 @@ query GetSomeUsers {
To read about all the `typegraphql-prisma` features, like exposing selected Prisma actions or changing exposed model type name, as well as how to write a custom query or how to add some fields to model type, please check the docs [on the dedicated website](https://prisma.typegraphql.com/).

You can find there also links to some examples and more detailed info about the installation and the configuration.

# Community generators

There are other generators avaiable from the community:
- [prisma-typegraphql-types-generator](https://www.npmjs.com/package/prisma-typegraphql-types-generator) by [@YassinEldeeb](https://github.com/YassinEldeeb)