Log in to GraphQL EditorGet started
Docs
Introduction
Desktop app
External Tools
CLI

Generate gql | Zeus GraphQL TypeScript generator

Use a Zeus function to generate a gql string

import { Zeus } from './zeus';

const stringGql = Zeus('query', {
  listCards: {
    name: true,
    skills: true,
    Attack: true,
  },
});

// stringGql value:
// query{listCards{name skills Attack}}