Overview of completed GraphQL Zeus documentation
masterThe GraphQL Zeus documentation is currently ~50% complete and covers several key areas of the library.
Completed Core Areas
- Getting Started: Installation, quickstart, CLI usage, and first query tutorials.
- Core Concepts: Chain client, selectors (including
FromSelector), type inference,thunder(custom fetch implementation), and understanding generated types. - Queries & Mutations: Basic queries (pagination, filtering, sorting), mutations (create, update, delete, file uploads), and type-safe variables.
- Advanced: SSE (Server-Sent Events) subscriptions including API methods (
on,error,open,off,close) and React integration. - Integrations:
TypedDocumentNodeguide for Apollo Client, React Query, and urql. - Examples: Node.js + TypeScript project structure and selector patterns.
Key Technical Features Documented
- Type Inference: Selection-based inference for nested objects, arrays, unions, interfaces, and enums.
- Thunder Client: Custom fetch implementation supporting authentication (Bearer, dynamic, refresh), retry logic with exponential backoff, and file uploads.
- Generated Types: Distinction between
ValueTypesandModelTypes, as well asGraphQLTypes,InputTypes,Enums, andScalars.