hoop33 / gqall

A CLI for running a GraphQL query and requesting all fields
MIT License
14 stars 1 forks source link

Support for type unions #3

Open Jille opened 2 years ago

Jille commented 2 years ago

Thanks for this tool! I was typing out fields by hand at first :sweat_smile:, so this saved me a bunch of time!

https://graphql.org/learn/schema/#union-types

Currently gqall just leaves union fields empty and fetches nothing from them. It'd be nice if it would find all the types and extract each of them.