dotansimha/graphql-code-generator

A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 34 minutes ago
Added to GitGenius on September 5th, 2026
Created on December 5th, 2016
Open Issues & Pull Requests: 559 (+0)
GitHub issues: Enabled
Number of forks: 1,401
Total Stargazers: 11,264 (+0)
Total Subscribers: 75 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.5 days
Mean response time: 105.2 days
90th percentile: 287.2 days
Tracked items: 301

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 94% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 4% of issues opened in the past year have been closed. Three people close 84% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 116
New in 7 days: 2
Closed in 7 days: 0
Avg open age: 825 days
Stale 30+ days: 107
Stale 90+ days: 89

Recent activity

Opened in 7 days: 2
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • core (56)
  • kind/enhancement (16)
  • plugins (13)
  • stage/1-reproduction (9)
  • stage/0-issue-prerequisites (8)
  • waiting-for-answer (7)
  • kind/bug (6)
  • feature-request (3)

Detailed Description

GraphQL Code Generator is a code generation tool that creates code from GraphQL schemas and operations across multiple programming languages and frameworks.

The tool solves the problem of maintaining type-safe code that stays synchronized with GraphQL schemas. It works by analyzing a GraphQL schema and documents containing queries, mutations, subscriptions, and fragments, then generating corresponding code through a plugin-based architecture. Developers can use pre-built plugins for common targets or write custom plugins to generate outputs tailored to their specific needs.

The tool suits teams working with GraphQL who want to eliminate manual type definitions and keep client and server code aligned with schema changes. It covers frontend development in frameworks like React and Angular, backend development with TypeScript, and mobile platforms including Android. The plugin system means you can generate code for virtually any language or framework, whether officially maintained or community-contributed.

The project maintains active engagement with its community through documented contribution guidelines and a code of conduct. Pull requests and issues are welcomed, and the maintainers provide specific guidance for contributors writing custom plugins. The tool includes an interactive setup wizard that guides users through configuration, reducing friction for new adopters.