Gathering detailed insights and metrics for nestjs-prisma-graphql-generator
Gathering detailed insights and metrics for nestjs-prisma-graphql-generator
Gathering detailed insights and metrics for nestjs-prisma-graphql-generator
Gathering detailed insights and metrics for nestjs-prisma-graphql-generator
prisma-nestjs-graphql
Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module
nest-prisma-graphql-generator
Generate CRUD resolvers from GraphQL schema with NestJS and Prisma
prisma-generator-nestjs-graphql-crud
generates basic graphql crud classes for @nestjs/graphql
@trxn/prisma-nestjs-graphql-resolvers-generator
This library was generated with [Nx](https://nx.dev).
npm install nestjs-prisma-graphql-generator
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (99.13%)
JavaScript (0.49%)
Shell (0.38%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
6 Stars
43 Commits
1 Forks
1 Watchers
1 Branches
1 Contributors
Updated on May 13, 2024
Latest Version
0.8.0
Package Id
nestjs-prisma-graphql-generator@0.8.0
Unpacked Size
1.09 MB
Size
205.90 kB
File Count
65
NPM Version
7.7.6
Node Version
15.13.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
NestJS-Prisma-GraphQL-Generator tool for generating GraphQL resolvers for your NestJS application based on the prisma schema of your project.
Before you begin, ensure you have met the following requirements:
To install NestJS-Prisma-GraphQL-Generator, follow these steps:
npm i nestjs-prisma-graphql-generator --save-dev
or
yarn add nestjs-prisma-graphql-generator --dev
To use NestJS-Prisma-GraphQL-Generator, follow these steps:
path/to/prisma/schema/@generated/nestjs
Create a new generator in your prisma schema and provide the import path of your prisma service:
generator nestjs {
provider = "nestjs-prisma-graphql"
prismaServiceImportPath = "@your/prisma-service"
}
The following additional settings can be configured within the generator block of your prisma schema:
inputArgumentsName = input
prismaServiceImport = PrismaService
To enable the Prisma Select integration, set includePrismaSelect
to true
:
generator nestjs {
provider = "nestjs-prisma-graphql"
includePrismaSelect = true
}
All supported objects can be used as the regular NestJS GraphQL object equivalents.
Resolvers can be imported on an individual base and used within the providers
array of your modules
To contribute to NestJS-Prisma-GraphQL-Generator, follow these steps:
git checkout -b <branch_name>
.git commit -m '<commit_message>'
git push origin nestjs-prisma-graphql-generator/main
Alternatively see the GitHub documentation on creating a pull request.
Thanks to the following people who have contributed to this project:
This project uses the MIT license.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
74 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More