Skip to content

Commit 298f8c0

Browse files
committed
Update order of arguments on @stream
1 parent 3a0c0ae commit 298f8c0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec/Section 3 -- Type System.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2380,9 +2380,9 @@ fragment someFragment on User {
23802380

23812381
```graphql
23822382
directive @stream(
2383-
initialCount: Int! = 0
23842383
if: Boolean! = true
23852384
label: String
2385+
initialCount: Int! = 0
23862386
) on FIELD
23872387
```
23882388

@@ -2410,12 +2410,6 @@ query myQuery($shouldStream: Boolean! = true) {
24102410

24112411
#### @stream Arguments
24122412

2413-
- `initialCount: Int! = 0` - The number of list items to include initially when
2414-
completing the parent selection set. If omitted, defaults to `0`. A field
2415-
error will be raised if the value of this argument is less than `0`. When the
2416-
size of the list is greater than or equal to the value of `initialCount`, the
2417-
GraphQL service _must_ initially include at least as many list items as the
2418-
value of `initialCount` (see related note below).
24192413
- `if: Boolean! = true` - When `true`, field _should_ be streamed (see related
24202414
note below). When `false`, the field must behave as if the `@stream` directive
24212415
is not presentit must not be streamed and all of the list items must be
@@ -2426,6 +2420,12 @@ query myQuery($shouldStream: Boolean! = true) {
24262420
must include this label in the corresponding pending object within the
24272421
_incremental stream_. The `label` argument must be unique across all `@defer`
24282422
and `@stream` directives in the document.
2423+
- `initialCount: Int! = 0` - The number of list items to include initially when
2424+
completing the parent selection set. If omitted, defaults to `0`. A field
2425+
error will be raised if the value of this argument is less than `0`. When the
2426+
size of the list is greater than or equal to the value of `initialCount`, the
2427+
GraphQL service _must_ initially include at least as many list items as the
2428+
value of `initialCount` (see related note below).
24292429

24302430
Note: The
24312431
[Defer And Stream Directive Labels Are Unique](#sec-Defer-And-Stream-Directive-Labels-Are-Unique)

0 commit comments

Comments
 (0)