8 lines
346 B
GraphQL
8 lines
346 B
GraphQL
query queryName($foo:ComplexType,$site:Site=MOBILE){whoever123is:node(id:[123,456]){id,... on User@defer{field2{id,alias:field1(first:10,after:$foo)@include(if:$foo){id,...frag}}}}}
|
|
|
|
mutation likeStory{like(story:123)@defer{story{id}}}
|
|
|
|
fragment frag on Friend{foo(size:$size,bar:$b,obj:{key:"value"})}
|
|
|
|
{unnamed(truthy:true,falsey:false),query}
|