mirror of
https://github.com/atulmy/gql-query-builder.git
synced 2026-04-25 23:55:55 +03:00
[GH-ISSUE #3] Params on nested fields ? #98
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#98
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 @revskill10 on GitHub (Feb 22, 2019).
Original GitHub issue: https://github.com/atulmy/gql-query-builder/issues/3
Does the library support params on nested fields ?
@atulmy commented on GitHub (Feb 22, 2019):
@revskill10 can you provide an example of the use case?
@revskill10 commented on GitHub (Feb 22, 2019):
@atulmy In my application, my query is like this
@revskill10 commented on GitHub (Feb 22, 2019):
@atulmy Thanks for taking this !
I'm using one library that supports this feature, but it's not that clean as yours.
Basically, its api is
Maybe you could learn from this !
@bebraw commented on GitHub (Mar 20, 2019):
Here's one approach:
It's likely not a big change internally as the code has been factored along these lines already (extra type check in a certain place).
@atulmy commented on GitHub (Mar 20, 2019):
Yes, your approach looks cleaner than what I initially thought we could do:
@asaf commented on GitHub (Sep 11, 2019):
@atulmy are you planning to support this?