@@ -2160,10 +2160,11 @@ fragment someFragment on User {
2160
2160
- `if : Boolean ` - When `true `, fragment _should_ be deferred . When `false `,
2161
2161
fragment will not be deferred and data will be included in the initial
2162
2162
response . If omitted , defaults to `true `.
2163
- - `label : String ` - A unique label across all `@defer ` and `@stream ` directives
2164
- in an operation . This label should be used by GraphQL clients to identify the
2165
- data from patch responses and associate it with the correct fragments . If
2166
- provided , the GraphQL Server must add it to the payload .
2163
+ - `label : String ` - May be used by GraphQL clients to identify the data from
2164
+ responses and associate it with the corresponding defer directive . If
2165
+ provided , the GraphQL Server must add it to the corresponding payload . `label `
2166
+ must be unique label across all `@defer ` and `@stream ` directives in a
2167
+ document . `label ` must not be provided as a variable .
2167
2168
2168
2169
### @stream
2169
2170
@@ -2191,10 +2192,12 @@ query myQuery($shouldStream: Boolean) {
2191
2192
- `if : Boolean ` - When `true `, field _should_ be streamed . When `false `, the
2192
2193
field will not be streamed and all list items will be included in the initial
2193
2194
response . If omitted , defaults to `true `.
2194
- - `label : String ` - A unique label across all `@defer ` and `@stream ` directives
2195
- in an operation . This label should be used by GraphQL clients to identify the
2196
- data from patch responses and associate it with the correct fragments . If
2197
- provided , the GraphQL Server must add it to the payload .
2195
+ - `label : String ` - May be used by GraphQL clients to identify the data from
2196
+ responses and associate it with the corresponding stream directive . If
2197
+ provided , the GraphQL Server must add it to the corresponding payload . `label `
2198
+ must be unique label across all `@defer ` and `@stream ` directives in a
2199
+ document . `label ` must not be provided as a variable .
2200
+
2198
2201
- `initialCount : Int ` - The number of list items the server should return as
2199
2202
part of the initial response . If omitted , defaults to `0`. A field error will
2200
2203
be raised if the value of this argument is less than `0`.
0 commit comments