-
-
Notifications
You must be signed in to change notification settings - Fork 723
/
FilterInputTypeTest.FilterInputType_Inline_AddDirective.snap
45 lines (37 loc) · 2.02 KB
/
FilterInputTypeTest.FilterInputType_Inline_AddDirective.snap
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
schema {
query: Query
}
type Query {
foo(where: BookFilterInput): String
}
input BookAuthorFilterInput @Foobar {
id: IntOperationFilterInput
}
input BookChaptersFilterInput @Foobar {
eq: Int
}
input BookFilterInput {
and: [BookFilterInput!]
or: [BookFilterInput!]
chapters: BookChaptersFilterInput
author: BookAuthorFilterInput
}
input IntOperationFilterInput {
eq: Int
neq: Int
in: [Int]
nin: [Int]
gt: Int
ngt: Int
gte: Int
ngte: Int
lt: Int
nlt: Int
lte: Int
nlte: Int
}
directive @Foobar on INPUT_OBJECT
"The `@defer` directive may be provided for fragment spreads and inline fragments to inform the executor to delay the execution of the current fragment to indicate deprioritization of the current fragment. A query with `@defer` directive will cause the request to potentially return multiple responses, where non-deferred data is delivered in the initial response and data deferred is delivered in a subsequent response. `@include` and `@skip` take precedence over `@defer`."
directive @defer("If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to." label: String "Deferred when true." if: Boolean) on FRAGMENT_SPREAD | INLINE_FRAGMENT
"The `@stream` directive may be provided for a field of `List` type so that the backend can leverage technology such as asynchronous iterators to provide a partial list in the initial response, and additional list items in subsequent responses. `@include` and `@skip` take precedence over `@stream`."
directive @stream("If this argument label has a value other than null, it will be passed on to the result of this stream directive. This label is intended to give client applications a way to identify to which fragment a streamed result belongs to." label: String "The initial elements that shall be send down to the consumer." initialCount: Int! = 0 "Streamed when true." if: Boolean) on FIELD