apollographql / apollo-utils

Monorepo of common utilities related to Apollo and GraphQL
MIT License
36 stars 9 forks source link

Add ability to specify custom document transform during manifest generation #412

Closed jerelmiller closed 6 months ago

jerelmiller commented 6 months ago

Apollo Client v3.8 added support for custom document transforms that can be used to modify queries before they are sent to the server. This PR adds support for this feature during manifest generation to ensure the queries saved to the manifest match what will be sent by the client in a running app.

changeset-bot[bot] commented 6 months ago

🦋 Changeset detected

Latest commit: 6a57af8b4399709b2e814f85a8f7ad894782854a

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

This PR includes changesets to release 1 package | Name | Type | | ----------------------------------------- | ----- | | @apollo/generate-persisted-query-manifest | Minor |

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

codesandbox-ci[bot] commented 6 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

glasser commented 6 months ago

Ping me when the README is ready. Looks like this doesn't solve the particular onboarding use case we thought it might, but it's still a great idea.

jerelmiller commented 6 months ago

@glasser README is updated!