mirror of
https://github.com/atulmy/gql-query-builder.git
synced 2026-04-25 23:55:55 +03:00
[GH-ISSUE #38] Multiple query variables doesn't get set in the root query #118
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gql-query-builder#118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Devorein on GitHub (Jun 29, 2020).
Original GitHub issue: https://github.com/atulmy/gql-query-builder/issues/38
PR#35 did solve the issue on nested fields, but unfortunately when using multiple operations the problem persists.
For example for the below query ...
gqlquery.queryis ...query ($ceil: Boolean) { getPublicationCount (round: $round) { } getPublicationCount (ceil: $ceil) { } }But it should be
query ($round: Boolean, $ceil: Boolean) { getPublicationCount (round: $round) getPublicationCount (ceil: $ceil) }My PR solves the case with extraneous brackets but, it seems only the latest variables are set at the root query operation.
@Devorein commented on GitHub (Jun 29, 2020):
Sorry this issue was discussed at #16 .Closing it.