0no-co / gql.tada

🪄 Magical GraphQL query engine for TypeScript
https://gql-tada.0no.co
MIT License
2.52k stars 41 forks source link

chore(internal): Improve consistency of preprocess output #185

Closed kitten closed 4 months ago

kitten commented 4 months ago

Summary

Replaces minifyIntrospectionQuery to presort some output (inputFields and enumValues sorting is left alone and left up to the API to sort).

This increases the consistency of our output to the point where we can re-generate simpleSchema.ts using our preprocess utility then enhance the tests to check against that, as a manual snapshot.

Set of changes

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 19e49053a7e30da7be10ba2594232b8ca66552cf

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR