get-graphql-schema
get-graphql-schema copied to clipboard
Introduce option to selected types of interest
trafficstars
It would be nice to have a way to select which root type(s) from queryType/mutationType/subscriptionType should the command focus when given an option.
For example, something like:
get-graphql-schema -t query -t subscription ENDPOINT_URL > schema.graphql
Would only generate the schema with query and subscription types.