mirror of
https://github.com/atulmy/gql-query-builder.git
synced 2026-04-25 23:55:55 +03:00
[GH-ISSUE #93] Inner operation without the variables property produce an Uncaught TypeError: t.map is not a function #58
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#58
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 @MurzNN on GitHub (Aug 12, 2024).
Original GitHub issue: https://github.com/atulmy/gql-query-builder/issues/93
I need to build a query with nested operations, like this:
So, I composed this JS code to make it:
But it produces an error:
But if I add an empty
variables: {}property, it starts working, here is the example:So, is it a bug, or intended behavior? If intended, could you please describe the reasons?
[GH-ISSUE #93] Inner operation without the variables property produce an Uncaught TypeError: t.map is not a functionto [GH-ISSUE #93] Inner operation without the variables property produce an Uncaught TypeError: t.map is not a function