graphql-editor / graphql-zeus

GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ⚡⚡⚡ for browser,nodejs and react native ( apollo compatible )
https://graphqleditor.com/docs/tools/zeus/index/
MIT License
1.93k stars 104 forks source link

How to return all fields? #373

Open iamkhalidbashir opened 1 year ago

iamkhalidbashir commented 1 year ago

I have this query right now

const { data, loading, error } = useTypedQuery({
    deployedApps: [
      {},
      {
        id: true,
        name: true,
      },
    ],
  });

How can I return all fields without mentioned each field as true, something like this

const { data, loading, error } = useTypedQuery({
    deployedApps: [
      {},
      true
    ],
  });