Skip to content

Commit 2934a59

Browse files
committed
more PR feedback
1 parent c7c3ee1 commit 2934a59

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

spec/Section 3 -- Type System.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -2207,10 +2207,10 @@ fragment someFragment on User {
22072207
#### @defer Arguments
22082208

22092209
- `if: Boolean! = true` - When `true`, fragment _should_ be deferred (see
2210-
related note below). When `false`, fragment will not be deferred and data will
2211-
be included in the initial response. Defaults to `true` when omitted.
2210+
related note below). When `false`, fragment will not be deferred. Defaults to
2211+
`true` when omitted.
22122212
- `label: String` - An optional string literal (variables are disallowed) used
2213-
by GraphQL clients to identify data from responses and associate it with the
2213+
by GraphQL clients to identify data from payloads and associate it with the
22142214
corresponding defer directive. If provided, the GraphQL service must include
22152215
this label in the corresponding pending object within the response. The
22162216
`label` argument must be unique across all `@defer` and `@stream` directives
@@ -2228,8 +2228,8 @@ directive @stream(
22282228

22292229
The `@stream` directive may be provided for a field whose type incorporates a
22302230
`List` type modifier; the directive enables the backend to leverage technology
2231-
such as asynchronous iterators to provide a partial list in the initial payload,
2232-
and additional list items in subsequent payloads.
2231+
such as asynchronous iterators to provide a partial list initially, and
2232+
additional list items in subsequent payloads.
22332233

22342234
The `@include` and `@skip` directives take precedence over `@stream`.
22352235

@@ -2254,16 +2254,16 @@ query myQuery($shouldStream: Boolean! = true) {
22542254

22552255
- `if: Boolean! = true` - When `true`, field _should_ be streamed (see related
22562256
note below). When `false`, the field will not be streamed and all list items
2257-
will be included in the initial response. Defaults to `true` when omitted.
2257+
will be initially included. Defaults to `true` when omitted.
22582258
- `label: String` - An optional string literal (variables are disallowed) used
2259-
by GraphQL clients to identify data from responses and associate it with the
2259+
by GraphQL clients to identify data from payloads and associate it with the
22602260
corresponding stream directive. If provided, the GraphQL service must include
22612261
this label in the corresponding pending object within the response. The
22622262
`label` argument must be unique across all `@defer` and `@stream` directives
22632263
in the document.
2264-
- `initialCount: Int` - The number of list items the service should return as
2265-
part of the initial response. If omitted, defaults to `0`. A field error will
2266-
be raised if the value of this argument is less than `0`.
2264+
- `initialCount: Int` - The number of list items the service should return
2265+
initially. If omitted, defaults to `0`. A field error will be raised if the
2266+
value of this argument is less than `0`.
22672267

22682268
Note: The ability to defer and/or stream parts of a response can have a
22692269
potentially significant impact on application performance. Developers generally

0 commit comments

Comments
 (0)