mirror of
https://github.com/atulmy/gql-query-builder.git
synced 2026-04-25 23:55:55 +03:00
[GH-ISSUE #19] Operation name #12
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#12
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 @atulmy on GitHub (Aug 6, 2019).
Original GitHub issue: https://github.com/atulmy/gql-query-builder/issues/19
Reference: https://graphql.org/learn/queries/#operation-name
Current:
Option to pass query name
ThoughtList@Devorein commented on GitHub (Jun 29, 2020):
That could be solved by replacing the resultant query via
generated.query = generated.query.replace('query',"query "+opName);But I assume that it could be added to the api itself as part of an argument to the query, mutation and subscription functions.