# gqlgen vs TypeGraphQL

| Attribute | gqlgen | TypeGraphQL |
|---|---|---|
| **vioscaleAI score** | 57.9 (36% (low)) | 53.3 (63% (medium)) |
| activity.commits_last_30d | 28 | 1 |
| adoption.dependent_repos | 3,167 | 7,054 |
| adoption.github_stars | 10,773 | 8,094 |
| adoption.package_downloads_weekly | - | 1,129,149 |
| content.faq | `[{"answer":"A schema-first code generation library for Go that lets developers define GraphQL APIs using the schema definition language and automatically generates type-safe server implementations. It eliminates boilerplate by handling code generation while enforcing type safety throughout. It is indexed under GraphQL Tools.","source":"https://gqlgen.com","question":"What is gqlgen?","confidence":0.6},{"answer":"gqlgen is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://gqlgen.com","question":"Is gqlgen free to use?","confidence":0.6},{"answer":"gqlgen supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://gqlgen.com","question":"What platforms does gqlgen support?","confidence":0.6},{"answer":"Yes. gqlgen is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/99designs/gqlgen","question":"Is gqlgen open source?","confidence":0.95}]` | `[{"answer":"A Node.js framework that allows developers to define GraphQL schemas entirely in TypeScript using class-based type definitions and decorators. It provides automatic validation, authorization support, dependency injection, and eliminates the need to maintain separate schema definitions and type files. It is indexed under GraphQL Tools.","source":"https://typegraphql.com/","question":"What is TypeGraphQL?","confidence":0.6},{"answer":"TypeGraphQL is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://typegraphql.com/","question":"Is TypeGraphQL free to use?","confidence":0.6},{"answer":"Yes. TypeGraphQL can be deployed cloud / SaaS and self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://typegraphql.com/","question":"Can TypeGraphQL be self-hosted?","confidence":0.6},{"answer":"We have confirmed 6 integrations for TypeGraphQL, including Apollo Server, Azure Functions, AWS Lambda, TypeORM, class-validator and graphql-yoga. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://typegraphql.com/","question":"What does TypeGraphQL integrate with?","confidence":0.6},{"answer":"Yes. TypeGraphQL is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/MichalLytek/type-graphql","question":"Is TypeGraphQL open source?","confidence":0.99}]` |
| deployment.options | `{"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | An open-source Go framework that generates GraphQL server code from schema definitions. It emphasizes type safety, automatic code generation to reduce boilerplate, and a schema-first development approach. | A TypeScript framework that uses class decorators to define GraphQL APIs, letting developers specify schema structure and types in one place rather than maintaining them separately across multiple files and formats. |
| features.capabilities | `{"role":"server","caching":false,"language":"Go","federation":true,"managed_cloud":false,"self_hostable":true,"subscriptions":true,"auth_directives":false,"schema_approach":"schema_first","type_generation":true,"db_introspection":false}` | `{"role":"server","caching":false,"language":"TypeScript","federation":false,"managed_cloud":false,"self_hostable":true,"subscriptions":true,"auth_directives":true,"schema_approach":"code_first","type_generation":true,"db_introspection":false}` |
| integrations.count | - | 5 |
| integrations.list | - | `[{"name":"Apollo Server"},{"name":"Azure Functions"},{"name":"AWS Lambda"},{"name":"TypeORM"},{"name":"class-validator"},{"name":"graphql-yoga"},{"name":"Prisma","native":false},{"name":"DataLoader","native":false},{"name":"joi","native":false}]` |
| language.primary | Go | TypeScript |
| license.spdx | MIT | MIT |
| platform.support | `{"cli":true}` | - |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://gqlgen.com","retrievedAt":"2026-11-27T16:00:40.419Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://typegraphql.com/","retrievedAt":"2026-10-13T13:45:51.873Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | commercial |
| pricing.price_level | free | free |
| pricing.transparent | - | yes |
| release.cadence_days | 15 | 51 |
| release.history | `[{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.98","date":"2026-10-22T22:27:37Z","type":"stable","version":"v0.17.98"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.97","date":"2026-10-20T01:15:42Z","type":"stable","version":"v0.17.97"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.96","date":"2026-10-20T01:39:21Z","type":"stable","version":"v0.17.96"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.95","date":"2026-09-01T19:42:14Z","type":"stable","version":"v0.17.95"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.94","date":"2026-07-09T15:29:06Z","type":"stable","version":"v0.17.94"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.93","date":"2026-06-25T23:54:10Z","type":"stable","version":"v0.17.93"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.92","date":"2026-06-21T13:23:58Z","type":"stable","version":"v0.17.92"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.91","date":"2026-06-11T14:33:01Z","type":"stable","version":"v0.17.91"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.90","date":"2026-04-25T19:11:01Z","type":"stable","version":"v0.17.90"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.89","date":"2026-03-24T18:45:49Z","type":"stable","version":"v0.17.89"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.88","date":"2026-03-09T00:10:30Z","type":"stable","version":"v0.17.88"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.87","date":"2026-02-19T14:14:40Z","type":"stable","version":"v0.17.87"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.86","date":"2026-01-12T01:28:31Z","type":"stable","version":"v0.17.86"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.85","date":"2025-12-17T02:21:31Z","type":"stable","version":"v0.17.85"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.84","date":"2025-11-24T16:56:20Z","type":"stable","version":"v0.17.84"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.83","date":"2025-11-11T02:05:44Z","type":"stable","version":"v0.17.83"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.82","date":"2025-11-07T01:29:47Z","type":"stable","version":"v0.17.82"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.81","date":"2025-09-25T23:00:54Z","type":"stable","version":"v0.17.81"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.80","date":"2025-09-17T16:13:26Z","type":"stable","version":"v0.17.80"},{"url":"https://github.com/99designs/gqlgen/releases/tag/v0.17.79","date":"2025-09-14T19:35:25Z","type":"stable","version":"v0.17.79"}]` | `[{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-rc.4","date":"2026-02-26T08:35:21Z","type":"stable","version":"v2.0.0-rc.4"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-rc.3","date":"2026-02-08T08:56:50Z","type":"stable","version":"v2.0.0-rc.3"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-rc.2","date":"2024-06-07T12:27:54Z","type":"stable","version":"v2.0.0-rc.2"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-rc.1","date":"2024-04-24T14:18:18Z","type":"stable","version":"v2.0.0-rc.1"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-beta.6","date":"2024-04-24T14:27:42Z","type":"prerelease","version":"v2.0.0-beta.6"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-beta.4","date":"2024-04-24T14:27:10Z","type":"prerelease","version":"v2.0.0-beta.4"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-beta.3","date":"2023-08-17T16:48:16Z","type":"prerelease","version":"v2.0.0-beta.3"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-beta.2","date":"2023-05-16T08:40:02Z","type":"prerelease","version":"v2.0.0-beta.2"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.2.0-rc.1","date":"2021-10-06T08:41:05Z","type":"prerelease","version":"v1.2.0-rc.1"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.1.1","date":"2020-11-04T20:42:49Z","type":"stable","version":"v1.1.1"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.1.0","date":"2020-10-12T18:43:12Z","type":"stable","version":"v1.1.0"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.0.0","date":"2020-08-19T18:30:33Z","type":"stable","version":"v1.0.0"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.0.0-rc.3","date":"2020-06-29T18:06:47Z","type":"prerelease","version":"v1.0.0-rc.3"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.0.0-rc.2","date":"2020-05-19T19:36:54Z","type":"prerelease","version":"v1.0.0-rc.2"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.0.0-rc.1","date":"2020-05-03T16:50:40Z","type":"prerelease","version":"v1.0.0-rc.1"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v0.17.6","date":"2019-12-21T20:48:53Z","type":"stable","version":"v0.17.6"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v0.17.5","date":"2019-08-18T11:09:49Z","type":"stable","version":"v0.17.5"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v0.17.4","date":"2019-05-12T20:26:56Z","type":"stable","version":"v0.17.4"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v0.17.3","date":"2019-05-06T16:48:18Z","type":"stable","version":"v0.17.3"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v0.17.2","date":"2019-04-23T19:30:07Z","type":"stable","version":"v0.17.2"}]` |
| reliability.status_page | - | yes |
| security.scorecard | 6.2 | 3.2 |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=go&package_name=github.com%2F99designs%2Fgqlgen&per_page=100","last_12m":0,"max_severity":null}` | `{"count":1,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=type-graphql&per_page=100","last_12m":0,"max_severity":"LOW"}` |

## Capabilities (GraphQL Tools)

| Capability | gqlgen | TypeGraphQL |
|---|:--:|:--:|
| **Core** |  |  |
| Role | Server | Server |
| Primary language | Go | TypeScript |
| **Modelling** |  |  |
| Schema approach | Schema-first | Code-first |
| **Scale** |  |  |
| Federation / subgraph composition | ✓ | ✗ |
| **Realtime** |  |  |
| Real-time subscriptions | ✓ | ✓ |
| **Performance** |  |  |
| Response / edge caching | ✗ | ✗ |
| **DX** |  |  |
| Typed code generation | ✓ | ✓ |
| **Automation** |  |  |
| Generates API from a database | ✗ | ✗ |
| **Security** |  |  |
| Built-in authz / permissions | ✗ | ✓ |
| **Deployment** |  |  |
| Official hosted offering | ✗ | ✗ |
| Self-hostable | ✓ | ✓ |

*Source: vioscaleAI. Generated 2026-12-01T00:21:39.781Z. "-" = undocumented, not absent.*
