GraphQLSP
GraphQLSP copied to clipboard
TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
## Summary Checking for unused fields is a really powerful feature which definitely makes sense, but sometimes we don't want that, but instead want to pass the complete return type...
Hey there, As [GQL support multiple schema files](https://the-guild.dev/graphql/config/docs/user/schema#multiple-files), I would like to know if you plan to support this kind of parsing method: ```json { "plugins": [ { "name": "@0no-co/graphqlsp",...
Hi! First of all, thanks for all the hard work on `gql.tada`! It's an awesome tool. *I guess this might not be the proper place to ask this question, but...
It would be easier if all of the GraphQL tools leveraged a centralised config for i.e. retrieving the schema, ... building out support in the LSP would be great for...
### Describe the bug I want to use a fragment and I need to write down 3 dots before fragment name. But in vscode this is happening:  So I...
In GraphQL-Hive a [modular approach](https://github.com/kamilkisiela/graphql-hive/blob/main/codegen.mts#L5) is used to maintain the schema. We should load it which can be done with [`graphql-tools`](https://the-guild.dev/graphql/tools/docs/schema-loading) and a glob watcher to hot-reload it.
Is there a way to enable typed queries in .astro files, just like in .ts and .tsx? I've got a page route `/posts/[...slug].astro` with a custom graphql client using introspection...
Similar to #177 Todo: - [x] [support `ts.identifier`](https://github.com/0no-co/GraphQLSP/blob/main/packages/graphqlsp/src/fieldUsage.ts#L238) which comes down to `x.map(someFunc)` (https://github.com/0no-co/GraphQLSP/pull/235) - [ ] support `for..of`
This mirrors the `getDefinitionAtPosition` method in TypeScript's language service — specifically the `GoToDefinition` component — to create a `getDeclarationOfIdentifier` helper. Since we're only looking up definitions of identifiers, we can...
Resolve https://github.com/0no-co/gql.tada/issues/374 ## Summary Two loops can occur when resolving fragments: - Loops between mutual fragments - Loops when resolving an identifier The first one is mostly to prevent crashes,...