mirror of
https://github.com/atulmy/gql-query-builder.git
synced 2026-04-25 23:55:55 +03:00
[PR #55] [MERGED] feat(variables): take consideration of nested variables #81
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#81
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?
📋 Pull Request Information
Original PR: https://github.com/atulmy/gql-query-builder/pull/55
Author: @clement-berard
Created: 12/19/2020
Status: ✅ Merged
Merged: 12/20/2020
Merged by: @atulmy
Base:
master← Head:add-nested-variables📝 Commits (3)
807b7bbupdate utils1227176add testsbf39017add tests📊 Changes
2 files changed (+119 additions, -9 deletions)
View changed files
📝
src/Utils.ts(+23 -9)📝
src/index.test.ts(+96 -0)📄 Description
Hello community!
Nested fields have served me well. Nevertheless, the variables for the sub-operations were not added to the variables of the query (only the first sub-operation).
So I propose a small modification to collect all the variables, no matter how deep they are.
Below, the result of the query added in test.
thanks to all of you :)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.