Skip to content

Commit 8df13da

Browse files
committed
replace server with service
1 parent 79da712 commit 8df13da

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
@@ -2163,8 +2163,8 @@ fragment someFragment on User {
21632163
omitted.
21642164
- `label: String` - May be used by GraphQL clients to identify the data from
21652165
responses and associate it with the corresponding defer directive. If
2166-
provided, the GraphQL Server must add it to the corresponding payload. `label`
2167-
must be unique label across all `@defer` and `@stream` directives in a
2166+
provided, the GraphQL service must add it to the corresponding payload.
2167+
`label` must be unique label across all `@defer` and `@stream` directives in a
21682168
document. `label` must not be provided as a variable.
21692169

21702170
### @stream
@@ -2200,19 +2200,19 @@ query myQuery($shouldStream: Boolean) {
22002200
when omitted.
22012201
- `label: String` - May be used by GraphQL clients to identify the data from
22022202
responses and associate it with the corresponding stream directive. If
2203-
provided, the GraphQL Server must add it to the corresponding payload. `label`
2204-
must be unique label across all `@defer` and `@stream` directives in a
2203+
provided, the GraphQL service must add it to the corresponding payload.
2204+
`label` must be unique label across all `@defer` and `@stream` directives in a
22052205
document. `label` must not be provided as a variable.
2206-
- `initialCount: Int` - The number of list items the server should return as
2206+
- `initialCount: Int` - The number of list items the service should return as
22072207
part of the initial response. If omitted, defaults to `0`. A field error will
22082208
be raised if the value of this argument is less than `0`.
22092209

22102210
Note: The ability to defer and/or stream parts of a response can have a
22112211
potentially significant impact on application performance. Developers generally
22122212
need clear, predictable control over their application's performance. It is
2213-
highly recommended that GraphQL servers honor the `@defer` and `@stream`
2213+
highly recommended that GraphQL services honor the `@defer` and `@stream`
22142214
directives on each execution. However, the specification allows advanced use
2215-
cases where the server can determine that it is more performant to not defer
2215+
cases where the service can determine that it is more performant to not defer
22162216
and/or stream. Therefore, GraphQL clients _must_ be able to process a response
22172217
that ignores the `@defer` and/or `@stream` directives. This also applies to the
22182218
`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)