blob: d075edfd08ae9f5f912fa0c32bebd39182fba958 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Filename: kitchen-sink.graphql
query namedQuery($foo: ComplexFooType, $bar: Bar = DefaultBarValue) {
customUser: user(id: [987, 654]) {
id,
... on User @defer {
field2 {
id ,
alias: field1(first:10, after:$foo,) @include(if: $foo) {
id,
...frag
}
}
}
... @skip(unless: $foo) {
id
}
... {
id
}
}
}
mutation favPost {
fav(post: 123) @defer {
post {
id
}
}
}
subscription PostFavSubscription($input: StoryLikeSubscribeInput) {
postFavSubscribe(input: $input) {
post {
favers {
count
}
favSentence {
text
}
}
}
}
fragment frag on Follower {
foo(size: $size, bar: $b, obj: {key: "value"})
}
{
unnamed(truthyVal: true, falseyVal: false),
query
}
|