Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from
Apr 10, 2024

Conversation

kitten
Copy link
Member

@kitten kitten commented Apr 10, 2024

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

  • Replace minifyIntrospectionQuery with sorted equivalent

Copy link

changeset-bot bot commented Apr 10, 2024

🦋 Changeset detected

Latest commit: 19e4905

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

@kitten kitten changed the title test: Improve consistency of preprocess output chore: Improve consistency of preprocess output Apr 10, 2024
@kitten kitten changed the title chore: Improve consistency of preprocess output chore(internal): Improve consistency of preprocess output Apr 10, 2024
@kitten kitten merged commit 91bc961 into main Apr 10, 2024
2 checks passed
@kitten kitten deleted the test/improve-consistency-of-preprocess branch April 10, 2024 16:48
@github-actions github-actions bot mentioned this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants