rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/graphql
2019-10-21 10:18:17 +02:00

18 lines
233 B
Plaintext

query myQuery($variable: Boolean) {
# Queries can have comments!
friends(ids: ["a1", "a2"]) {
id
name
...someFields
... @include(if: $variable) {
foo
}
... @skip(if: true) {
bar
}
}
}