MichalLytek/type-graphql
Create GraphQL schema and resolvers with TypeScript, using classes and decorators! observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 92
- Release rhythm 72
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 17
- age_days: 3158
- days_rel: 188
- days_push: 48
- n_releases_24m: 2
Adoption not part of the score
8091 stars · 673 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
TypeGraphQL is a TypeScript framework for building GraphQL APIs using classes and decorators instead of SDL files, generating the schema from decorated object types and resolver classes. It includes built-in support for validation, authorization guards, dependency injection, middleware, and SDL emission.
Use cases
- build a GraphQL API in Node.js with TypeScript
- define GraphQL schema from TypeScript classes instead of SDL
- add auth guards and validation to GraphQL resolvers
- avoid type duplication between ORM entities and GraphQL types
- generate schema.graphql file for client tooling
- use dependency injection in GraphQL resolvers
- integrate GraphQL with TypeORM or MikroORM
When to choose
- you want a single source of truth between TypeScript types and GraphQL schema
- you prefer code-first schema definition with decorators
- you need built-in authorization, validation, and DI in resolvers
- your stack is Node.js with TypeScript and Apollo or graphql-js
When to avoid
- you prefer SDL-first schema design
- your project is JavaScript without TypeScript
- you need a stable 2.0 release - it is still in release candidate
- you use a non-Node.js backend language
Facets
framework · maturity active
graphql api-framework web-framework auth middleware form-handling web-development backend apis developer-tools code-first-graphql decorators schema-first-alternative dependency-injection resolvers sdl-generation nodejs typescript web-server
10 sources
- readme: https://github.com/MichalLytek/type-graphql · fetched 2026-08-28 · 7e60eca7da18
- homepage: https://typegraphql.com · fetched 2026-08-29 · 3440db912cef
- site_page: https://typegraphql.com/docs/introduction.html · fetched 2026-08-29 · cbe327d67448
- site_page: https://typegraphql.com/docs/examples.html · fetched 2026-08-29 · 5da56351150d
- site_page: https://typegraphql.com/docs/faq.html · fetched 2026-08-29 · 6c5087041220
- site_page: https://typegraphql.com/docs/getting-started.html · fetched 2026-08-29 · 6cd6f3d85049
- site_page: https://typegraphql.com/docs/scalars.html · fetched 2026-08-29 · 896c72234579
- site_page: https://typegraphql.com/docs/dependency-injection.html · fetched 2026-08-29 · e23106f51267
- site_page: https://typegraphql.com/docs/emit-schema.html · fetched 2026-08-29 · 4cad14dc3772
- registry_npm: https://registry.npmjs.org/type-graphql · fetched 2026-08-29 · b5818d1df3dd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MichalLytek/type-graphql | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="MichalLytek/type-graphql")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem