GraphQL CLI Generate Fragments

JSON →
library 1.4.1 ·javascript
verified Jun 7, 2026

A plugin for graphql-cli that auto-generates GraphQL fragments for each type in your project's schema. Version 1.4.1 is current, with stable release cadence. Key differentiator: generates both standard and no-nesting fragments to avoid recursive spread errors, plus deeply nested fragments when no recursion exists. Integrates with APollo, Prisma, and Graphcool workflows.