@@ -2173,7 +2173,7 @@ scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122")
2173
2173
```graphql
2174
2174
directive @defer (
2175
2175
label : String
2176
- if : Boolean
2176
+ if : Boolean ! = true
2177
2177
) on FRAGMENT_SPREAD | INLINE_FRAGMENT
2178
2178
```
2179
2179
@@ -2202,9 +2202,9 @@ fragment someFragment on User {
2202
2202
2203
2203
#### @defer Arguments
2204
2204
2205
- - `if : Boolean ` - When `true `, fragment _should_ be deferred . When ` false `,
2206
- fragment will not be deferred and data will be included in the initial
2207
- response . If omitted , defaults to `true `.
2205
+ - `if : Boolean ! = true ` - When `true `, fragment _should_ be deferred . When
2206
+ ` false `, fragment will not be deferred and data will be included in the
2207
+ initial response . If omitted , defaults to `true `.
2208
2208
- `label : String ` - May be used by GraphQL clients to identify the data from
2209
2209
responses and associate it with the corresponding defer directive . If
2210
2210
provided , the GraphQL Server must add it to the corresponding payload . `label `
@@ -2214,7 +2214,11 @@ fragment someFragment on User {
2214
2214
### @stream
2215
2215
2216
2216
```graphql
2217
- directive @stream (label : String , initialCount : Int = 0 , if : Boolean ) on FIELD
2217
+ directive @stream (
2218
+ label : String
2219
+ if : Boolean ! = true
2220
+ initialCount : Int = 0
2221
+ ) on FIELD
2218
2222
```
2219
2223
2220
2224
The `@stream ` directive may be provided for a field of `List ` type so that the
@@ -2234,15 +2238,14 @@ query myQuery($shouldStream: Boolean) {
2234
2238
2235
2239
#### @stream Arguments
2236
2240
2237
- - `if : Boolean ` - When `true `, field _should_ be streamed . When `false `, the
2238
- field will not be streamed and all list items will be included in the initial
2239
- response . If omitted , defaults to `true `.
2241
+ - `if : Boolean ! = true ` - When `true `, field _should_ be streamed . When `false `,
2242
+ the field will not be streamed and all list items will be included in the
2243
+ initial response . If omitted , defaults to `true `.
2240
2244
- `label : String ` - May be used by GraphQL clients to identify the data from
2241
2245
responses and associate it with the corresponding stream directive . If
2242
2246
provided , the GraphQL Server must add it to the corresponding payload . `label `
2243
2247
must be unique label across all `@defer ` and `@stream ` directives in a
2244
2248
document . `label ` must not be provided as a variable .
2245
-
2246
2249
- `initialCount : Int ` - The number of list items the server should return as
2247
2250
part of the initial response . If omitted , defaults to `0`. A field error will
2248
2251
be raised if the value of this argument is less than `0`.
0 commit comments