Skip to content

Commit a7c6ad5

Browse files
committed
Editorial
1 parent 026982b commit a7c6ad5

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

spec/Section 4 -- Introspection.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ identifiers). Capabilities may be supplied by the GraphQL implementation, by the
533533
service, or both.
534534

535535
The `__Service.capabilities` field exposes a _capability_ list. A _capability_
536-
comprises of a capability identifier and optionally a string value.
536+
consists of a capability identifier and optionally a string value.
537537

538538
**Capability identifier**
539539

@@ -558,9 +558,9 @@ ignore unknown identifiers.
558558

559559
Implementers should not change the meaning of capability identifiers, instead a
560560
new capability identifier should be used when the meaning changes. Implementers
561-
should ensure that capability strings remain stable and version-agnostic where
562-
possible; capability versioning, if needed, can be indicated using dot suffixes
563-
(e.g.{ "org.example.capability.v2"}).
561+
should ensure that capability identifiers remain stable and version-agnostic
562+
where possible; capability versioning, if needed, can be indicated using dot
563+
suffixes (e.g.{ "org.example.capability.v2"}).
564564

565565
This system enables incremental feature adoption and richer tooling
566566
interoperability, while avoiding tight coupling to specific implementations.
@@ -569,11 +569,10 @@ interoperability, while avoiding tight coupling to specific implementations.
569569

570570
The value assigned to a given capability may either be {null} to indicate that
571571
the capability is supported and requires no additional information, or a string
572-
to provide additional information. For example
573-
{"org.graphql.rfc.fragmentArguments"} does not require additional information
574-
and thus would have value {null}, whereas {"org.graphql.websockets"} might
575-
indicate support for websockets whilst using the value to indicate the endpoint
576-
to use.
572+
to provide additional information. For example {"org.graphql.onError"} does not
573+
require additional information and thus uses the value {null}, whereas
574+
{"org.graphql.defaultErrorBehavior"} needs the {value} to indicate which _error
575+
behavior_ is the default.
577576

578577
**Specified capabilities**
579578

0 commit comments

Comments
 (0)