suessflorian / gqlfetch

Generates a graphql server schema using introspection.
MIT License
16 stars 12 forks source link

Built in types and directives #3

Closed AlwxSin closed 2 years ago

AlwxSin commented 2 years ago

At this moment gqlfetch prints all types and directives fetched from a server. Problem is that build in types and directives are also printed which conflicts with genclient when I tried to generate code with error like

invalid schema file ./schema.graphql: Cannot redeclare type Float.

suessflorian commented 2 years ago

This is definitely up to the consumer - I've worked with genqlient to get this sorted: https://github.com/Khan/genqlient/pull/145