Khan/genqlient
a truly type-safe Go GraphQL client observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 99
- Release rhythm 16
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 104
- age_days: 2421
- days_rel: 472
- days_push: 9
- n_releases_24m: 2
Adoption not part of the score
1320 stars · 143 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
genqlient is a Go library and code generator that produces type-safe client code for GraphQL APIs. It validates queries against the schema at compile time and generates strongly typed response and variable structs, eliminating boilerplate and runtime type errors.
Use cases
- generate type-safe Go clients for a GraphQL API
- validate GraphQL queries at compile time in Go
- avoid interface{} when unmarshaling GraphQL responses in Go
- set up GraphQL codegen for a Go backend service
- query a GraphQL schema with typed variables and responses
When to choose
- you write Go against a GraphQL API and want compile-time query validation
- you want generated, strongly typed response structs instead of manual structs or interface{}
- you want a production-proven GraphQL client used at scale
When to avoid
- your project is not in Go
- you prefer runtime GraphQL clients without a codegen step
- you only make a few simple queries where codegen overhead isn't worth it
Facets
library · maturity active
graphql graphql-client serialization developer-tools web-development apis developer-tools backend go cli cross-platform codegen type-safety graphql-client go-library
1 source
- readme: https://github.com/Khan/genqlient · fetched 2026-08-28 · 9810f51229d3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Khan/genqlient | main | 70 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem