This would be nice to have for my own use case as well, for generating queries for a headless CMS which I then use to generate TypeScript types. The schema can have many nested fields, which makes maintaining queries by hand very cumbersome when the schema is frequently updated during development
Added a
includeCrossReferences
flag (or-R
), would close https://github.com/timqian/gql-generator/issues/51This would be nice to have for my own use case as well, for generating queries for a headless CMS which I then use to generate TypeScript types. The schema can have many nested fields, which makes maintaining queries by hand very cumbersome when the schema is frequently updated during development