# TypeGraphQL vs urql

**Leader by vioscaleAI score:** urql

| Attribute | TypeGraphQL | urql |
|---|---|---|
| **vioscaleAI score** | 51.4 (64% (medium)) | 59.9 (51% (medium)) |
| activity.commits_last_30d | 0 | 3 |
| adoption.dependent_repos | 7,054 | 57,619 |
| adoption.github_stars | 8,085 | 8,980 |
| adoption.package_downloads_weekly | 748,545 | 1,178,429 |
| content.faq | `[{"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}]` | `[{"answer":"A JavaScript GraphQL client that integrates with popular frameworks like React and Vue. The library is designed to be lightweight with optional features for caching and optimization. It is indexed under GraphQL Tools.","source":"https://urql.dev","question":"What is urql?","confidence":0.6},{"answer":"urql 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://urql.dev","question":"Is urql free to use?","confidence":0.6},{"answer":"We have confirmed browser-based access to urql. That is the extent of what we could verify from public sources, so it may well offer desktop or mobile clients we have not indexed.","source":"https://urql.dev","question":"What platforms does urql support?","confidence":0.6},{"answer":"Yes. urql 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/urql-graphql/urql","question":"Is urql open source?","confidence":0.99}]` |
| deployment.options | `{"self_hosted":true}` | - |
| description.long | 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. | A framework-agnostic GraphQL client library that works with React, Preact, Vue, Solid, and Svelte, featuring flexible caching and a highly customizable API. |
| features.capabilities | `{"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}` | `{"role":"client","caching":true,"language":"TypeScript","subscriptions":true}` |
| integrations.count | 6 | - |
| integrations.list | `[{"name":"Apollo Server"},{"name":"Azure Functions"},{"name":"AWS Lambda"},{"name":"TypeORM"},{"name":"class-validator"},{"name":"graphql-yoga"}]` | - |
| language.primary | TypeScript | TypeScript |
| license.spdx | MIT | MIT |
| platform.support | - | `{"web":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://typegraphql.com/","retrievedAt":"2026-10-13T13:45:51.873Z"}` | `{"type":"open_source","summary":"Free and open source (MIT license)","freeTier":true,"sourceUrl":"https://urql.dev","retrievedAt":"2026-08-14T21:40:56.515Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| pricing.transparent | yes | - |
| release.cadence_days | 51 | 1 |
| release.history | `[{"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"}]` | `[{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/exchange-graphcache%409.0.2","date":"2026-10-02T04:49:37Z","type":"stable","version":"@urql/exchange-graphcache@9.0.2"},{"url":"https://github.com/urql-graphql/urql/releases/tag/urql%405.0.4","date":"2026-08-21T17:08:08Z","type":"stable","version":"urql@5.0.4"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/core%406.0.3","date":"2026-06-22T10:46:51Z","type":"stable","version":"@urql/core@6.0.3"},{"url":"https://github.com/urql-graphql/urql/releases/tag/urql%405.0.3","date":"2026-06-15T17:41:31Z","type":"stable","version":"urql@5.0.3"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/vue%402.1.1","date":"2026-06-15T17:41:19Z","type":"stable","version":"@urql/vue@2.1.1"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/next%402.0.1","date":"2026-06-15T17:41:22Z","type":"stable","version":"@urql/next@2.0.1"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/exchange-graphcache%409.0.1","date":"2026-06-15T17:41:25Z","type":"stable","version":"@urql/exchange-graphcache@9.0.1"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/core%406.0.2","date":"2026-06-15T17:41:28Z","type":"stable","version":"@urql/core@6.0.2"},{"url":"https://github.com/urql-graphql/urql/releases/tag/urql%405.0.2","date":"2026-04-15T03:03:48Z","type":"stable","version":"urql@5.0.2"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/vue%402.1.0","date":"2026-04-01T18:38:53Z","type":"stable","version":"@urql/vue@2.1.0"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/solid-start%400.2.0","date":"2026-04-01T18:38:56Z","type":"stable","version":"@urql/solid-start@0.2.0"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/solid%401.0.1","date":"2026-01-25T10:17:50Z","type":"stable","version":"@urql/solid@1.0.1"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/solid-start%400.1.0","date":"2026-01-25T10:17:47Z","type":"stable","version":"@urql/solid-start@0.1.0"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/storage-rn%401.1.2","date":"2026-01-23T06:42:22Z","type":"stable","version":"@urql/storage-rn@1.1.2"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/exchange-refocus%402.1.0","date":"2026-01-23T06:42:16Z","type":"stable","version":"@urql/exchange-refocus@2.1.0"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/exchange-graphcache%409.0.0","date":"2026-01-23T06:42:19Z","type":"stable","version":"@urql/exchange-graphcache@9.0.0"},{"url":"https://github.com/urql-graphql/urql/releases/tag/urql%405.0.1","date":"2025-08-29T08:06:41Z","type":"stable","version":"urql@5.0.1"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/exchange-persisted%405.0.1","date":"2025-08-11T05:29:00Z","type":"stable","version":"@urql/exchange-persisted@5.0.1"},{"url":"https://github.com/urql-graphql/urql/releases/tag/%40urql/core%406.0.1","date":"2025-08-11T05:29:03Z","type":"stable","version":"@urql/core@6.0.1"},{"url":"https://github.com/urql-graphql/urql/releases/tag/urql%405.0.0","date":"2025-08-09T13:26:59Z","type":"stable","version":"urql@5.0.0"}]` |
| reliability.status_page | yes | - |
| security.scorecard | 3.3 | - |
| security.vulnerabilities | `{"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"}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=%40urql%2Fcore&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (GraphQL Tools)

| Capability | TypeGraphQL | urql |
|---|:--:|:--:|
| **Core** |  |  |
| Role | Server | Client |
| Primary language | TypeScript | TypeScript |
| **Modelling** |  |  |
| Schema approach | 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-10-16T19:15:26.557Z. "-" = undocumented, not absent.*
