Skip to content

Commit df61253

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 3 -- Type System.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,7 +2247,7 @@ fragment someFragment on User {
22472247

22482248
```graphql
22492249
directive @stream(
2250-
initialCount: Int = 0
2250+
initialCount: Int! = 0
22512251
if: Boolean! = true
22522252
label: String
22532253
) on FIELD
@@ -2275,7 +2275,7 @@ query myQuery($shouldStream: Boolean! = true) {
22752275

22762276
#### @stream Arguments
22772277

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

0 commit comments

Comments
 (0)