@@ -292,7 +292,8 @@ Fields\:
292
292
* ` fields ` must return the set of fields that can be selected for this type.
293
293
* Accepts the argument ` includeDeprecated ` which defaults to {false}. If
294
294
{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).
296
297
* All other fields must return {null}.
297
298
298
299
@@ -327,7 +328,8 @@ Fields\:
327
328
* ` fields ` must return the set of fields required by this interface.
328
329
* Accepts the argument ` includeDeprecated ` which defaults to {false}. If
329
330
{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).
331
333
* ` possibleTypes ` returns the list of types that implement this interface.
332
334
They must be object types.
333
335
* All other fields must return {null}.
@@ -342,8 +344,8 @@ Fields\:
342
344
* ` kind ` must return ` __TypeKind.ENUM ` .
343
345
* ` name ` must return a String.
344
346
* ` 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.
347
349
* Accepts the argument ` includeDeprecated ` which defaults to {false}. If
348
350
{true}, deprecated enum values are also returned.
349
351
* All other fields must return {null}.
@@ -385,7 +387,7 @@ the representation of Lists of Lists, or Lists of Non-Nulls.
385
387
Fields \:
386
388
387
389
* `kind ` must return `__TypeKind .LIST `.
388
- * `ofType ` may be any type .
390
+ * `ofType ` must return a type of any kind .
389
391
* All other fields must return {null }.
390
392
391
393
@@ -404,7 +406,7 @@ modified Non-Null type to avoid a redundant Non-Null of Non-Null.
404
406
Fields \:
405
407
406
408
* `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 .
408
410
* All other fields must return {null }.
409
411
410
412
0 commit comments