Skip to content

Commit f1518ac

Browse files
robrichardyaacovCR
authored andcommitted
replace server with service
1 parent 1c2d4f5 commit f1518ac

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

spec/Section 3 -- Type System.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,8 +2208,8 @@ fragment someFragment on User {
22082208
omitted.
22092209
- `label: String` - May be used by GraphQL clients to identify the data from
22102210
responses and associate it with the corresponding defer directive. If
2211-
provided, the GraphQL Server must add it to the corresponding payload. `label`
2212-
must be unique label across all `@defer` and `@stream` directives in a
2211+
provided, the GraphQL service must add it to the corresponding payload.
2212+
`label` must be unique label across all `@defer` and `@stream` directives in a
22132213
document. `label` must not be provided as a variable.
22142214

22152215
### @stream
@@ -2245,19 +2245,19 @@ query myQuery($shouldStream: Boolean) {
22452245
when omitted.
22462246
- `label: String` - May be used by GraphQL clients to identify the data from
22472247
responses and associate it with the corresponding stream directive. If
2248-
provided, the GraphQL Server must add it to the corresponding payload. `label`
2249-
must be unique label across all `@defer` and `@stream` directives in a
2248+
provided, the GraphQL service must add it to the corresponding payload.
2249+
`label` must be unique label across all `@defer` and `@stream` directives in a
22502250
document. `label` must not be provided as a variable.
2251-
- `initialCount: Int` - The number of list items the server should return as
2251+
- `initialCount: Int` - The number of list items the service should return as
22522252
part of the initial response. If omitted, defaults to `0`. A field error will
22532253
be raised if the value of this argument is less than `0`.
22542254

22552255
Note: The ability to defer and/or stream parts of a response can have a
22562256
potentially significant impact on application performance. Developers generally
22572257
need clear, predictable control over their application's performance. It is
2258-
highly recommended that GraphQL servers honor the `@defer` and `@stream`
2258+
highly recommended that GraphQL services honor the `@defer` and `@stream`
22592259
directives on each execution. However, the specification allows advanced use
2260-
cases where the server can determine that it is more performant to not defer
2260+
cases where the service can determine that it is more performant to not defer
22612261
and/or stream. Therefore, GraphQL clients _must_ be able to process a response
22622262
that ignores the `@defer` and/or `@stream` directives. This also applies to the
22632263
`initialCount` argument on the `@stream` directive. Clients _must_ be able to

spec/Section 7 -- Response.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ all but the last response in the stream. The value of this entry is `false` for
3939
the last response of the stream. This entry must not be present for GraphQL
4040
operations that return a single response map.
4141

42-
The GraphQL server may determine there are no more values in the response stream
43-
after a previous value with `hasNext` equal to `true` has been emitted. In this
44-
case the last value in the response stream should be a map without `data` and
45-
`incremental` entries, and a `hasNext` entry with a value of `false`.
42+
The GraphQL service may determine there are no more values in the response
43+
stream after a previous value with `hasNext` equal to `true` has been emitted.
44+
In this case the last value in the response stream should be a map without
45+
`data` and `incremental` entries, and a `hasNext` entry with a value of `false`.
4646

4747
The response map may also contain an entry with key `extensions`. This entry, if
4848
set, must have a map as its value. This entry is reserved for implementors to

0 commit comments

Comments
 (0)