A strongly typed GraphQL client and code generator with autocomplete for TypeScript, compatible with Apollo and React Native.
GraphQL Zeus is a TypeScript-native GraphQL client and code generator that creates strongly typed clients from GraphQL schemas. It provides autocomplete and type safety for GraphQL queries, mutations, and subscriptions, ensuring compile-time validation and reducing runtime errors. It is compatible with Apollo Client, React Query, and works across browsers, Node.js, and React Native.
TypeScript developers working with GraphQL APIs who need type-safe client interactions, especially those using Apollo Client or React Native. It is ideal for teams prioritizing static typing and developer productivity in their GraphQL workflows.
Developers choose GraphQL Zeus for its seamless integration with TypeScript, providing full type safety and autocomplete for GraphQL operations without manual type definitions. Its compatibility with popular GraphQL clients like Apollo and support for complex schemas make it a robust alternative to handwritten GraphQL clients.
GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ⚡⚡⚡ for browser,nodejs and react native ( apollo compatible )
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates TypeScript types directly from GraphQL schemas, ensuring queries are validated at compile time, as demonstrated in the README's comparison of unsafe GQL vs safe Zeus syntax.
Works out of the box with Apollo Client, providing typed hooks and queries without additional configuration, per the features list in the README.
Includes a built-in schema downloader to fetch and update schemas from endpoints, streamlining client generation workflows as highlighted in the features.
Supports reusable selection sets via composable selectors, allowing for DRY query construction similar to GraphQL fragments, shown in the composables example.
Requires running the Zeus CLI to generate types before development, adding complexity to build processes and potentially slowing down iteration cycles.
Uses a non-standard, object-based syntax for queries (e.g., { usersQuery: { admin: { ... } } }), which developers must learn instead of traditional GraphQL strings, as illustrated in the examples.
Currently only explicitly supports Apollo Client, React Query, and Stucco Subscriptions, with other integrations noted as 'coming soon' in the README, limiting flexibility for other GraphQL clients.