NestJS integration documentation
See original GitHub issueNestJS provides an example for the old prisma1 using prisma-binding (https://github.com/nestjs/nest/tree/master/sample/22-graphql-prisma).
Can you provide a new sample integration for prisma2? The part I find most lacking is the @ResolveProperty() implementation as this is something usally done with a dataloader but I can’t get what is the best practice when using prisma2.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Documentation | NestJS - A progressive Node.js framework
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines ...
Read more >Database | NestJS - A progressive Node.js framework
Nest is database agnostic, allowing you to easily integrate with any SQL or NoSQL database. You have a number of options available to...
Read more >OpenAPI (Swagger) | NestJS - A progressive Node.js framework
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines ...
Read more >Documentation (Compodoc) - A progressive Node.js framework
Compodoc is a documentation tool for Angular applications. Since Nest and Angular share similar project and code structures, Compodoc works with Nest ...
Read more >Testing | NestJS - A progressive Node.js framework
provides integration with Jest and Supertest out-of-the-box, while remaining agnostic to testing tools; makes the Nest dependency injection system available in ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Example prisma2 integration in nest : https://github.com/fivethree-team/nestjs-prisma-starter/tree/prisma2
Have a look here how I used
@ResolveProperty()https://github.com/marcjulian/nest-prisma2/blob/master/src/resolvers/auth/auth.resolver.ts