# GraphQL Code Generator

> Type-safe Shopify API without manual typing

**Category:** Shopify  
**Pricing:** open-source  
**URL:** https://the-guild.dev/graphql/codegen  
**GitHub:** https://github.com/dotansimha/graphql-code-generator  
**Added:** 2026-08-18

---

## The Hook

GraphQL Codegen writes the TypeScript so you do not have to.

## What's Good

The preset ecosystem handles common patterns: typed document nodes, React hooks, or pure types. Schema fetching from Shopify endpoints works. Watch mode regenerates on changes.

## The Catch

Configuration complexity for advanced setups. Build step adds friction to the workflow. Large schemas generate large type files.

## Verdict

Essential infrastructure for typed Shopify GraphQL.
