Use the Zeus function to generate a gql string:
Zeus
import { Zeus } from './zeus'; const stringGql = Zeus('query', { listCards: { name: true, skills: true, Attack: true, }, }); // stringGql value: // query{listCards{name skills Attack}}
Last updated 2 years ago