NestJS is a very interesting backend framework that structures your complete project in a modularized fashion. TypeGraphQL is a way to generate graphql services in a code-first approach. NestJS wraps many other projects, including in the past TypeGraphQL, however due to requests from customers (not sure if that was performance or stability related) they have diverted from TypeGraphQL codebase, and cloned and modified their own version of it which they maintain. If you would want to use NestJS to architect your backend and also would want to use graphql i can recommend using "@nestjs/graphql" for your graphql service generation. If you only want to use graphql in a code-first approach then TypeGraphQL is great. Answer from Deleted User on reddit.com
Typegraphql
typegraphql.com › docs › nestjs.html
NestJS Integration · TypeGraphQL
TypeGraphQL provides some basic integration with NestJS by the typegraphql-nestjs package.
npm
npmjs.com › package › typegraphql-nestjs
typegraphql-nestjs - npm
December 27, 2025 - Basic integration of TypeGraphQL in NestJS. Allows to use TypeGraphQL features while integrating with NestJS modules system and dependency injector.. Latest version: 0.8.0, last published: 3 months ago.
» npm install typegraphql-nestjs
Published Dec 27, 2025
Version 0.8.0
Author Michał Lytek
Difference between typegraphql and @nestjs/graphql?
NestJS is a very interesting backend framework that structures your complete project in a modularized fashion. TypeGraphQL is a way to generate graphql services in a code-first approach. NestJS wraps many other projects, including in the past TypeGraphQL, however due to requests from customers (not sure if that was performance or stability related) they have diverted from TypeGraphQL codebase, and cloned and modified their own version of it which they maintain. If you would want to use NestJS to architect your backend and also would want to use graphql i can recommend using "@nestjs/graphql" for your graphql service generation. If you only want to use graphql in a code-first approach then TypeGraphQL is great. More on reddit.com
What does it do?
Hello, I'm honestly lost as to what this library does or how to use it. I tried the examples but couldn't understand what's the difference between this and pure nestjs. I definitely don't know what... More on github.com
Integration with Nest
Owner note Scroll to typegraphql-nestjs package info ⬇️ Original post I was wondering if there could be more support for Nest.js, in particular, integration with an authorization endpoint is needed. Right now, I'm using this NPM package ... More on github.com
How to use graphql-type-json with NestJS - Stack Overflow
Using nestjs together with graphql-type-json and my code looks like this More on stackoverflow.com
GitHub
github.com › MichalLytek › typegraphql-nestjs
GitHub - MichalLytek/typegraphql-nestjs: TypeGraphQL integration with NestJS · GitHub
Starred by 147 users
Forked by 20 users
Languages TypeScript 95.7% | JavaScript 4.3%
Reddit
reddit.com › r/graphql › difference between typegraphql and @nestjs/graphql?
r/graphql on Reddit: Difference between typegraphql and @nestjs/graphql?
April 13, 2021 -
I was looking in using typegraphql but I also found nestjs/graphql and I realized they look very similar, and that typegraphql have a NestJs Integration, but I couldn't understand why would I use that integration if it's almost the same.
So my questions is, what is the difference between both? Why would I use the typegraphql with the NestJs Integration?
Top answer 1 of 3
2
NestJS is a very interesting backend framework that structures your complete project in a modularized fashion. TypeGraphQL is a way to generate graphql services in a code-first approach. NestJS wraps many other projects, including in the past TypeGraphQL, however due to requests from customers (not sure if that was performance or stability related) they have diverted from TypeGraphQL codebase, and cloned and modified their own version of it which they maintain. If you would want to use NestJS to architect your backend and also would want to use graphql i can recommend using "@nestjs/graphql" for your graphql service generation. If you only want to use graphql in a code-first approach then TypeGraphQL is great.
2 of 3
1
Since this seems to be more of a question regarding Nest.js than GraphQL per se, just a note that r/Nestjs_framework/ exists. It's not the most active sub, but you might get more insight there.
Typegraphql
prisma.typegraphql.com › basics › nest js
Nest JS | TypeGraphQL Prisma
This module allows for basic integration of TypeGraphQL with NestJS, so you can use the generated TypeGraphQL classes to create a GraphQL API in NestJS.
Dreamonkey S.r.l.
dreamonkey.com › en › blog › why-and-how-we-migrated-from-type-graph-ql-to-nest-js-graph-ql
Why and how we migrated from TypeGraphQL to NestJS GraphQL?
NestJS is an awesome Node.js framework that lets you build GraphQL APIs, REST APIs, and more. In this article, we will explore the reasons why we migrated from TypeGraphQL (type-graphql and typegraphql-nestjs) to NestJS GraphQL (@nestjs/graphql). We will examine the maintenance problems and lacking features of the former packages and provide step-by-step instructions on how to migrate to the latter.
CodeSandbox
codesandbox.io › examples › package › typegraphql-nestjs
typegraphql-nestjs examples - CodeSandbox
Allows to use TypeGraphQL features while integrating with NestJS modules system and dependency injector.826Weekly Downloads
npm
npmjs.com › package › nest-type-graphql
nest-type-graphql - npm
November 17, 2018 - This is a TypeGraphQL module for Nest. I manually combine both decorators of Nestjs Graphql with TypeGraphql.
» npm install nest-type-graphql
Published Nov 17, 2018
Version 0.1.2
GitHub
github.com › mohaalak › nestjs_typegraphql
GitHub - mohaalak/nestjs_typegraphql · GitHub
This is a TypeGraphQL module for Nest. I manually combine both decorators of Nestjs Graphql with TypeGraphql.
Starred by 17 users
Forked by 3 users
Languages TypeScript 99.4% | JavaScript 0.6%
GitHub
github.com › MichalLytek › typegraphql-nestjs › blob › master › package.json
typegraphql-nestjs/package.json at master · MichalLytek/typegraphql-nestjs
"description": "Basic integration of TypeGraphQL in NestJS.
Author MichalLytek
npm
npmjs.com › package › nestjs-type-graphql
nestjs-type-graphql - npm
June 24, 2018 - Integration between nestjs and type-graphql. Latest version: 0.0.1-alpha.0, last published: 8 years ago. Start using nestjs-type-graphql in your project by running `npm i nestjs-type-graphql`. There are no other projects in the npm registry using nestjs-type-graphql.
» npm install nestjs-type-graphql
Published Jun 24, 2018
Version 0.0.1-alpha.0
GitHub
github.com › nestjs › graphql
GitHub - nestjs/graphql: GraphQL (TypeScript) module for Nest framework (node.js) 🍷
Starred by 1.5K users
Forked by 427 users
Languages TypeScript 99.7% | JavaScript 0.3%
GitHub
github.com › MichalLytek › type-graphql › issues › 135
Integration with Nest · Issue #135 · MichalLytek/type-graphql
August 29, 2018 - Right now, I'm using this NPM package + TypeORM, following the sample, so far so good but unfortunately the source was nowhere to be found, and so I have to workaround my auth checker which required me to pass the database module into the context but it is very dangerous. So what about an official extension of TypeGraphQL to Nest.JS?
Author MichalLytek
GitHub
github.com › MichalLytek › typegraphql-nestjs › blob › master › package-lock.json
typegraphql-nestjs/package-lock.json at master · MichalLytek/typegraphql-nestjs
February 10, 2022 - TypeGraphQL integration with NestJS. Contribute to MichalLytek/typegraphql-nestjs development by creating an account on GitHub.
Author MichalLytek
Stack Overflow
stackoverflow.com › questions › 73716679 › how-to-use-graphql-type-json-with-nestjs
How to use graphql-type-json with NestJS - Stack Overflow
i Have following response that needs to go under GraphQL Query: { '0xF7446f0...9a496aE94Cf9d42': { balances: [ [Object], [Object] ] }, '0xc01679F6496...95c86f9DEc63a': { balances: [ [Object], [...
NestJS
docs.nestjs.com › graphql › resolvers-map
GraphQL + TypeScript - Resolvers | NestJS - A progressive Node.js framework
Instead, we use TypeScript decorators to generate the SDL from TypeScript class definitions. The @nestjs/graphql package reads the metadata defined through the decorators and automatically generates the schema for you.