mirror of
https://github.com/atulmy/gql-query-builder.git
synced 2026-04-25 23:55:55 +03:00
[GH-ISSUE #51] Is the type of variables correct in NestedField? #29
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#29
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 @hjbolide on GitHub (Oct 8, 2020).
Original GitHub issue: https://github.com/atulmy/gql-query-builder/issues/51
github.com/atulmy/gql-query-builder@3dc80192f4/src/NestedField.ts (L11)Please refer to the above line, the type of variables in NestedField was set to IQueryBuilderOptions[], just wondering if that's correct at all?
If we look at it here:
github.com/atulmy/gql-query-builder@3dc80192f4/src/index.test.ts (L147)The variables object inside nested field would certainly fail the type check IQueryBuilderOptions[].