ts-gql
ts-gql copied to clipboard
Write GraphQL queries with a gql tag in TypeScript -> have generated types
We're referencing quite a lot of the generated GQL types within our project and end up with quite annoying, and easy to break imports like ```ts const QUERY = gql`...
The title is pretty much talks for itself. In my personal use case, I'm using brand types as scalar types (e.g PostId, UserId, etc). These scalars can get large pretty...
Hello, the requirement to name each query is sometimes inconvenient (and for large projects can lead to collisions). What about the idea of auto-generating a name based on the hash...
## Description While generating TypeScript types with ts-gql, we've encountered an issue where several types are defined but not used within the codebase. These unused types are being flagged by...
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1. Release notes Sourced from graphql's releases. v16.8.1 (2023-09-19) Bug Fix 🐞 #3967 OverlappingFieldsCanBeMergedRule: Fix performance degradation (@AaronMoat) Committers: 1 Aaron Moat(@AaronMoat) v16.8.0 (2023-08-14) New...
I saw the `@ts-gql/next` package and thought it was a great idea but I'm using [vite](https://vitejs.dev/) and not next. So to this end I have create a package for it...