prisma-labs / get-graphql-schema

Fetch and print the GraphQL schema from a GraphQL HTTP endpoint. (Can be used for Relay Modern.)
665 stars 63 forks source link

Add option to normalize the retrieved schema for usage in VCS #69

Open danielvanmil opened 2 years ago

danielvanmil commented 2 years ago

We use the tool to retrieve a schema and put in our VCS. The schema on the server isn't always in the same format/order, so a normalize option would be a nice features to avoid unneeded diffs.

@autotelic/graphql-schema-tools provices a simple module for this we use now as a separate tool.