# GraphQL Zeus

Strongly Typed GraphQL from the [GraphQL Editor](https://graphqleditor.com/?utm_source=graphql_zeus_github) team.

GraphQL Zeus is simply the best way to interact with your GraphQL endpoints in a type-safe way. Zeus uses your schema to generate Typescript types and strongly typed clients to unlock the power, efficiency, productivity and safety of Typescript on your GraphQL requests.

## Features:

⚡️ Types mapped from your schema\
⚡️ Works with Apollo Client, React Query, Stucco Subscriptions *(\*more coming soon...)*\
⚡️ Works with Subscriptions\
⚡️ Infer complex response types\
⚡️ Create reusable selection sets (like fragments) for use across multiple queries\
⚡️ Supports GraphQL Unions, Interfaces, Aliases and Variables\
⚡️ Handles even absolutely **massive** schemas\
⚡️ Supports Browsers, Node.js and React Native in Javascript and Typescript\
⚡️ Schema downloader\
⚡️ JSON schema generation<br>

## Generate Types With Zeus CLI

Simply run Zeus in your terminal to output your types file based on your graphql schema:

<figure><img src="/files/OsMpMVIa6DwCz2qoBIeM" alt=""><figcaption></figcaption></figure>

## Usage Example

A simple example of using a generated `chain` client. Queries, mutations and subscriptions are now type-safe in arguments, field selections and response types:

<figure><img src="/files/7O5WmgukE1YIRJrkSueL" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.graphqleditor.com/tools/index.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
