@@ -920,7 +920,8 @@ of rules must be adhered to by every Object type in a GraphQL schema.
920
920
returns {true }.
921
921
4. If argument type is Non -Null and a default value is not defined :
922
922
1. The `@deprecated ` directive must not be applied to this argument .
923
- 3. An object type may declare that it implements one or more unique interfaces .
923
+ 3. An object type may declare that it implements a list of one or more unique
924
+ interfaces .
924
925
4. An object type must be a super -set of all interfaces it implements :
925
926
1. Let this object type be {objectType }.
926
927
2. For each interface declared implemented as {interfaceType },
@@ -1473,7 +1474,7 @@ EnumValuesDefinition : { EnumValueDefinition+ }
1473
1474
EnumValueDefinition : Description ? EnumValue Directives [Const ]?
1474
1475
1475
1476
GraphQL Enum types , like Scalar types , also represent leaf values in a GraphQL
1476
- type system . However Enum types describe the set of possible values .
1477
+ type system . However Enum types describe the list of possible values .
1477
1478
1478
1479
Enums are not references for a numeric value , but are unique values in their own
1479
1480
right . They may serialize as a string : the name of the represented value .
@@ -1491,7 +1492,7 @@ enum Direction {
1491
1492
1492
1493
**Result Coercion **
1493
1494
1494
- GraphQL services must return one of the defined set of possible values . If a
1495
+ GraphQL services must return one of the defined list of possible values . If a
1495
1496
reasonable coercion is not possible they must raise a _field error_ .
1496
1497
1497
1498
**Input Coercion **
@@ -1547,9 +1548,9 @@ InputFieldsDefinition : { InputValueDefinition+ }
1547
1548
Fields may accept arguments to configure their behavior . These inputs are often
1548
1549
scalars or enums , but they sometimes need to represent more complex values .
1549
1550
1550
- A GraphQL Input Object defines a set of input fields ; the input fields are
1551
- either scalars , enums , or other input objects . This allows arguments to accept
1552
- arbitrarily complex structs .
1551
+ A GraphQL Input Object defines a list of named input fields ; the input fields
1552
+ are either scalars , enums , or other input objects . This allows arguments to
1553
+ accept arbitrarily complex structs .
1553
1554
1554
1555
In this example , an Input Object called `Point2D ` describes `x ` and `y ` inputs :
1555
1556
@@ -1936,6 +1937,10 @@ A GraphQL schema describes directives which are used to annotate various parts
1936
1937
of a GraphQL document as an indicator that they should be evaluated differently
1937
1938
by a validator , executor , or client tool such as a code generator .
1938
1939
1940
+ Directives can accept arguments to further specify their behavior . Directive
1941
+ arguments are defined as a list of all possible argument names and their
1942
+ expected input types .
1943
+
1939
1944
**Built -in Directives **
1940
1945
1941
1946
:: A _built -in directive_ is any directive defined within this specification .
0 commit comments