graphql-zeus icon indicating copy to clipboard operation
graphql-zeus copied to clipboard

How to return all fields?

Open iamkhalidbashir opened this issue 2 years ago • 0 comments

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
    ],
  });

iamkhalidbashir avatar Jun 24 '23 11:06 iamkhalidbashir