Skip to content

Commit 406bc4d

Browse files
committed
Review feedback
1 parent 4e55fb7 commit 406bc4d

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

spec/Section 4 -- Introspection.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ Fields\:
292292
* `fields` must return the set of fields that can be selected for this type.
293293
* Accepts the argument `includeDeprecated` which defaults to {false}. If
294294
{true}, deprecated fields are also returned.
295-
* `interfaces` must return the set of interfaces that an object implements.
295+
* `interfaces` must return the set of interfaces that an object implements
296+
(if none, `interfaces` must return the empty set).
296297
* All other fields must return {null}.
297298

298299

@@ -327,7 +328,8 @@ Fields\:
327328
* `fields` must return the set of fields required by this interface.
328329
* Accepts the argument `includeDeprecated` which defaults to {false}. If
329330
{true}, deprecated fields are also returned.
330-
* `interfaces` must return the set of interfaces that this interface implements.
331+
* `interfaces` must return the set of interfaces that an object implements
332+
(if none, `interfaces` must return the empty set).
331333
* `possibleTypes` returns the list of types that implement this interface.
332334
They must be object types.
333335
* All other fields must return {null}.
@@ -342,8 +344,8 @@ Fields\:
342344
* `kind` must return `__TypeKind.ENUM`.
343345
* `name` must return a String.
344346
* `description` may return a String or {null}.
345-
* `enumValues` must return the set of `EnumValue`. There must be at least one
346-
and they must have unique names.
347+
* `enumValues` must return the set of enum values as a list of `__EnumValue`.
348+
There must be at least one and they must have unique names.
347349
* Accepts the argument `includeDeprecated` which defaults to {false}. If
348350
{true}, deprecated enum values are also returned.
349351
* All other fields must return {null}.
@@ -385,7 +387,7 @@ the representation of Lists of Lists, or Lists of Non-Nulls.
385387
Fields\:
386388

387389
* `kind` must return `__TypeKind.LIST`.
388-
* `ofType` may be any type.
390+
* `ofType` must return a type of any kind.
389391
* All other fields must return {null}.
390392

391393

@@ -404,7 +406,7 @@ modified Non-Null type to avoid a redundant Non-Null of Non-Null.
404406
Fields\:
405407

406408
* `kind` must return `__TypeKind.NON_NULL`.
407-
* `ofType` may be any type except Non-Null.
409+
* `ofType` must return a type of any kind except Non-Null.
408410
* All other fields must return {null}.
409411

410412

0 commit comments

Comments
 (0)