Closed
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.