rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/graphql

18 lines
233 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
query myQuery($variable: Boolean) {
# Queries can have comments!
friends(ids: ["a1", "a2"]) {
id
name
...someFields
... @include(if: $variable) {
foo
}
... @skip(if: true) {
bar
}
}
}