-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Labels
type: question or discussionIssue discussing or asking a question about gqlIssue discussing or asking a question about gql
Description
Can qgl be used to programmatically modify queries?
For example to transform this request.
query getContinents {
continents {
code
name
}
}
To this one.
query getContinents {
continents (code:"AF") {
code
name
}
}
gql.gql() parses the input into graphql AST DocumentNode, but it is not clear which methods are available to modify it, and how to write the query back as a string.
Metadata
Metadata
Assignees
Labels
type: question or discussionIssue discussing or asking a question about gqlIssue discussing or asking a question about gql