Repository navigation
fix multi-query variable serialization - #1006
Open
iuliiasobolevska wants to merge 1 commit into
Open
iuliiasobolevska wants to merge 1 commit into
iuliiasobolevska wants to merge 1 commit into
Conversation
iuliiasobolevska
requested review from
asibross,
paulbakker and
srinivasankavitha
as code owners
November 10, 2026 04:02
iuliiasobolevska
requested review from
iparadiso,
jjacobs44 and
kzwang
as code owners
November 10, 2026 04:02
iuliiasobolevska
force-pushed
the
fix/860-multi-query-variables
branch
from
November 10, 2026 05:31
9b92d51 to
717cca6
Compare
iuliiasobolevska
force-pushed
the
fix/860-multi-query-variables
branch
from
November 10, 2026 05:39
717cca6 to
a52b605
Compare
This branch has not been deployed
This file contains hidden or 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
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.
GraphQLMultiQueryRequestserializes root variable references as literals and omits projection variable declarations.Use the same root-field builder as
GraphQLQueryRequestto preserve variable references, operation field directives and explicit selection sets.Collect declarations per serialization so repeated use does not retain stale projection variables.
Merge shared variables using the strictest compatible nullability and keep conflicting types or defaults visible to server validation.
Single-request regular and compact output use the same merger as multi-query output.
The shared merger is a file-level
internalfunction marked@JvmSyntheticto hide it from Java source without adding a publicCompanionfield.Fixes #860.
Fixes #669.