One configuration for all your GraphQL tools
The easiest way to configure your development environment with your GraphQL schema: one file that every tool, editor and IDE understands. Part of the Hive ecosystem by The Guild.
- Supported by most tools
- Multiple projects
- Extensible
Why GraphQL Config
- Easy to useDescribe where your schema and operations live once, in YAML, JSON, or a TypeScript file, and stop repeating it per tool.
- Fully configurableMultiple projects, environment variables, and per-tool extensions that carry their own settings inside the same file.
- Open sourceAdopted by GraphQL Code Generator, GraphQL ESLint, the VS Code extension, and the JetBrains plugin, among others.
Point, once
The schema, the documents, and any extension settings. Tools load it with the graphql-config library and pick the project they need.
See the file format# graphql.config.yaml
schema: https://localhost:4000/graphql
documents: src/**/*.{graphql,ts,tsx}
extensions:
codegen:
generates:
src/generated/graphql.ts:
plugins:
- typescript
- typescript-operationsLearn more
For users
Install, write the file, and declare your schema and documents.
User guide →For tool authors
Load the configuration, read a project, and define your own extension.
Library docs →Migration
Moving from the legacy .graphqlconfig format.
Migration guide →
Discover the complete ecosystem of tools and libraries
Complete GraphQL Federation Stack
Our libraries to support all your GraphQL needs
Explore the Ecosystem