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

feat(cli): generate persisted operations json files #176

Merged
merged 7 commits into from
Apr 10, 2024

Conversation

JoviDeCroock
Copy link
Member

Summary

This adds a new command called generate-persisted which will go through all the files and generate a JSON file containing all your persisted operations. This can then be used to upload to GraphQL Yoga or some other server to limit the distinct amount of documents that can be sent to the GraphQL server.

Related to 0no-co/GraphQLSP#240
Implements part of #76

Copy link

changeset-bot bot commented Apr 5, 2024

🦋 Changeset detected

Latest commit: e00f1b8

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

@JoviDeCroock JoviDeCroock marked this pull request as ready for review April 9, 2024 16:32
@JoviDeCroock JoviDeCroock requested a review from kitten April 9, 2024 16:32
@JoviDeCroock JoviDeCroock enabled auto-merge (squash) April 10, 2024 16:42
@JoviDeCroock JoviDeCroock merged commit 9d8a175 into main Apr 10, 2024
2 checks passed
@JoviDeCroock JoviDeCroock deleted the fix-persisted-operations branch April 10, 2024 16:44
@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