-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix(batch-execute): prefix non-provided variables correctly #243
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ardatan
force-pushed
the
prefix-variables-optional
branch
from
December 2, 2024 13:33
cb1d423
to
5fb7ce0
Compare
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-tools/batch-delegate |
9.0.20-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/batch-execute |
9.0.8-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/delegate |
10.2.4-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/federation |
2.2.35-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/fusion-runtime |
0.10.10-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-hive/gateway |
1.5.7-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/hmac-upstream-signature |
1.2.12-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/plugin-opentelemetry |
1.3.16-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/plugin-prometheus |
1.3.4-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-hive/gateway-runtime |
1.3.4-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/stitch |
9.4.5-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/stitching-directives |
3.1.19-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/transport-common |
0.7.19-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/transport-http |
0.6.21-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/transport-http-callback |
0.5.10-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/transport-ws |
0.4.8-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/wrap |
10.0.22-alpha-4c1de074259b33c9e8f35d8ce1850e9ebf153255 |
npm ↗︎ unpkg ↗︎ |
🚀 Snapshot Release (Bun Docker Image)The latest changes of this PR are available as image on GitHub Container Registry (based on the declared
|
🚀 Snapshot Release (Node Docker Image)The latest changes of this PR are available as image on GitHub Container Registry (based on the declared
|
ardatan
force-pushed
the
prefix-variables-optional
branch
from
December 2, 2024 13:56
5fb7ce0
to
35bd336
Compare
ardatan
force-pushed
the
prefix-variables-optional
branch
from
December 2, 2024 13:56
35bd336
to
4c1de07
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #225 that batched query generation when optional variables are not prefixed and sent correctly.
See the use case below;
When two batched queries are sent like below;
And then
someOptionalVar
is not prefixed if the value is not sent by the user. The batched queries will be sent as below, then it will cause issues.