Fetch all fields on a type

Genql can fetch all scalar fields of a type useing __scalar: true
typescript
import { createClient, everything } from './generated' const client = createClient() client .query({ countries: { __scalar: true, nestedField: { // fetch all scalar fields __scalar: true, }, }, }) .then(console.log) // will fetch all fields
Share