Skip to content

Commit 32785b8

Browse files
robrichardbenjie
andcommitted
Apply suggestions from code review
Co-authored-by: Benjie <[email protected]>
1 parent 3111640 commit 32785b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 3 -- Type System.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2221,7 +2221,7 @@ fragment someFragment on User {
22212221

22222222
```graphql
22232223
directive @stream(
2224-
initialCount: Int = 0
2224+
initialCount: Int! = 0
22252225
if: Boolean! = true
22262226
label: String
22272227
) on FIELD
@@ -2249,7 +2249,7 @@ query myQuery($shouldStream: Boolean! = true) {
22492249

22502250
#### @stream Arguments
22512251

2252-
- `initialCount: Int` - The number of list items the service should return
2252+
- `initialCount: Int! = 0` - The number of list items the service should return
22532253
initially. If omitted, defaults to `0`. A field error will be raised if the
22542254
value of this argument is less than `0`.
22552255
- `if: Boolean! = true` - When `true`, field _should_ be streamed (see related

0 commit comments

Comments
 (0)