Genql can fetch all scalar fields of a type useing
__scalar: true
typescriptimport { 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