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