File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2177,8 +2177,8 @@ scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122")
2177
2177
2178
2178
```graphql
2179
2179
directive @defer (
2180
- label : String
2181
2180
if : Boolean ! = true
2181
+ label : String
2182
2182
) on FRAGMENT_SPREAD | INLINE_FRAGMENT
2183
2183
```
2184
2184
@@ -2221,9 +2221,9 @@ fragment someFragment on User {
2221
2221
2222
2222
```graphql
2223
2223
directive @stream (
2224
- label : String
2225
- if : Boolean ! = true
2226
2224
initialCount : Int = 0
2225
+ if : Boolean ! = true
2226
+ label : String
2227
2227
) on FIELD
2228
2228
```
2229
2229
@@ -2249,6 +2249,9 @@ query myQuery($shouldStream: Boolean! = true) {
2249
2249
2250
2250
#### @stream Arguments
2251
2251
2252
+ - `initialCount : Int ` - The number of list items the service should return
2253
+ initially . If omitted , defaults to `0`. A field error will be raised if the
2254
+ value of this argument is less than `0`.
2252
2255
- `if : Boolean ! = true ` - When `true `, field _should_ be streamed (see related
2253
2256
note below). When `false `, the field must not be streamed and all list items
2254
2257
must be initially included . Defaults to `true ` when omitted .
@@ -2258,9 +2261,6 @@ query myQuery($shouldStream: Boolean! = true) {
2258
2261
this label in the corresponding pending object within the result . The `label `
2259
2262
argument must be unique across all `@defer ` and `@stream ` directives in the
2260
2263
document .
2261
- - `initialCount : Int ` - The number of list items the service should return
2262
- initially . If omitted , defaults to `0`. A field error will be raised if the
2263
- value of this argument is less than `0`.
2264
2264
2265
2265
Note : The ability to defer and /or stream parts of a response can have a
2266
2266
potentially significant impact on application performance . Developers generally
You can’t perform that action at this time.
0 commit comments