99designs/gqlgen

go generate based graphql server library

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 18 minutes ago
Added to GitGenius on September 5th, 2026
Created on February 11th, 2018
Open Issues & Pull Requests: 382 (+0)
GitHub issues: Enabled
Number of forks: 1,254
Total Stargazers: 10,758 (+0)
Total Subscribers: 123 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

gqlgen is a schema-first code generation library for building GraphQL servers in Go.

The tool addresses the problem of writing boilerplate code when implementing GraphQL APIs. It takes a schema-first approach, where you define your GraphQL schema and the library generates type-safe Go code that implements the server. This eliminates manual type definitions and reduces the gap between schema and implementation. The generated code includes resolver stubs and type definitions that developers fill in with business logic, ensuring the implementation stays synchronized with the schema.

Developers should choose gqlgen when building GraphQL servers in Go and want strong type safety with minimal manual scaffolding. It suits projects where the schema is the source of truth and teams prefer code generation over reflection-based approaches. The schema-first methodology makes it particularly valuable for APIs that evolve over time, as schema changes automatically propagate to generated code. The library includes built-in support for subscriptions and provides a dataloader pattern for efficient batch loading of related data.

The project maintains steady development activity with regular commits addressing bug fixes and feature enhancements. Pull requests receive consistent review and merging, indicating active maintenance. The issue tracker shows ongoing engagement with user-reported problems and feature requests. Documentation updates accompany code changes, keeping the project's guidance current with implementation details.