@@ -2128,7 +2128,7 @@ scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122")
2128
2128
```graphql
2129
2129
directive @defer (
2130
2130
label : String
2131
- if : Boolean
2131
+ if : Boolean ! = true
2132
2132
) on FRAGMENT_SPREAD | INLINE_FRAGMENT
2133
2133
```
2134
2134
@@ -2157,9 +2157,9 @@ fragment someFragment on User {
2157
2157
2158
2158
#### @defer Arguments
2159
2159
2160
- - `if : Boolean ` - When `true `, fragment _should_ be deferred . When ` false `,
2161
- fragment will not be deferred and data will be included in the initial
2162
- response . If omitted , defaults to `true `.
2160
+ - `if : Boolean ! = true ` - When `true `, fragment _should_ be deferred . When
2161
+ ` false `, fragment will not be deferred and data will be included in the
2162
+ initial response . If omitted , defaults to `true `.
2163
2163
- `label : String ` - May be used by GraphQL clients to identify the data from
2164
2164
responses and associate it with the corresponding defer directive . If
2165
2165
provided , the GraphQL Server must add it to the corresponding payload . `label `
@@ -2169,7 +2169,11 @@ fragment someFragment on User {
2169
2169
### @stream
2170
2170
2171
2171
```graphql
2172
- directive @stream (label : String , initialCount : Int = 0 , if : Boolean ) on FIELD
2172
+ directive @stream (
2173
+ label : String
2174
+ if : Boolean ! = true
2175
+ initialCount : Int = 0
2176
+ ) on FIELD
2173
2177
```
2174
2178
2175
2179
The `@stream ` directive may be provided for a field of `List ` type so that the
@@ -2189,15 +2193,14 @@ query myQuery($shouldStream: Boolean) {
2189
2193
2190
2194
#### @stream Arguments
2191
2195
2192
- - `if : Boolean ` - When `true `, field _should_ be streamed . When `false `, the
2193
- field will not be streamed and all list items will be included in the initial
2194
- response . If omitted , defaults to `true `.
2196
+ - `if : Boolean ! = true ` - When `true `, field _should_ be streamed . When `false `,
2197
+ the field will not be streamed and all list items will be included in the
2198
+ initial response . If omitted , defaults to `true `.
2195
2199
- `label : String ` - May be used by GraphQL clients to identify the data from
2196
2200
responses and associate it with the corresponding stream directive . If
2197
2201
provided , the GraphQL Server must add it to the corresponding payload . `label `
2198
2202
must be unique label across all `@defer ` and `@stream ` directives in a
2199
2203
document . `label ` must not be provided as a variable .
2200
-
2201
2204
- `initialCount : Int ` - The number of list items the server should return as
2202
2205
part of the initial response . If omitted , defaults to `0`. A field error will
2203
2206
be raised if the value of this argument is less than `0`.
0 commit comments