Skip to main content

typed-graphql-builder

A fully type-safe TypeScript GraphQL query builder

Edit queries without recompiling

Generate types from your schema once, then edit queries in pure TypeScript. No need to rebuild the types every time you change a query string.

URQLgraphql-request

Integrates with existing libraries

Its just a query builder - no network library dependencies. It produces a standard TypedDocumentNode which you can use with any client, such as Apollo, urql or graphql-request

Advanced type inference

typed-graphql-builder can infer input types, output types and variable types, no matter what you throw at it! See the complex example for a taste of what it can do.