@@ -399,7 +399,7 @@ information on the serialization of scalars in common JSON and other formats.
399
399
400
400
If a GraphQL service expects a scalar type as input to an argument, coercion
401
401
is observable and the rules must be well defined. If an input value does not
402
- match a coercion rule, a query error must be raised.
402
+ match a coercion rule, a request error must be raised.
403
403
404
404
GraphQL has different constant literals to represent integer and floating-point
405
405
input values, and coercion rules may apply differently depending on which type
@@ -438,10 +438,10 @@ greater than or equal to 2<sup>31</sup>, a field error should be raised.
438
438
** Input Coercion**
439
439
440
440
When expected as an input type, only integer input values are accepted. All
441
- other input values, including strings with numeric content, must raise a query
441
+ other input values, including strings with numeric content, must raise a request
442
442
error indicating an incorrect type. If the integer input value represents a
443
443
value less than -2<sup >31</sup > or greater than or equal to 2<sup >31</sup >, a
444
- query error should be raised.
444
+ request error should be raised.
445
445
446
446
Note: Numeric integer values larger than 32-bit should either use String or a
447
447
custom-defined Scalar type, as not all platforms and transports support
@@ -470,9 +470,9 @@ Examples of this may include returning `1.0` for the integer number `1`, or
470
470
When expected as an input type, both integer and float input values are
471
471
accepted. Integer input values are coerced to Float by adding an empty
472
472
fractional part, for example ` 1.0 ` for the integer input value ` 1 ` . All
473
- other input values, including strings with numeric content, must raise a query
473
+ other input values, including strings with numeric content, must raise a request
474
474
error indicating an incorrect type. If the integer input value represents a
475
- value not representable by IEEE 754, a query error should be raised.
475
+ value not representable by IEEE 754, a request error should be raised.
476
476
477
477
478
478
### String
@@ -494,7 +494,7 @@ string `"1"` for the integer `1`.
494
494
** Input Coercion**
495
495
496
496
When expected as an input type, only valid UTF-8 string input values are
497
- accepted. All other input values must raise a query error indicating an
497
+ accepted. All other input values must raise a request error indicating an
498
498
incorrect type.
499
499
500
500
@@ -515,7 +515,7 @@ this may include returning `true` for non-zero numbers.
515
515
** Input Coercion**
516
516
517
517
When expected as an input type, only boolean input values are accepted. All
518
- other input values must raise a query error indicating an incorrect type.
518
+ other input values must raise a request error indicating an incorrect type.
519
519
520
520
521
521
### ID
@@ -540,7 +540,7 @@ When coercion is not possible they must raise a field error.
540
540
When expected as an input type, any string (such as ` "4" ` ) or integer (such as
541
541
` 4 ` or ` -4 ` ) input value should be coerced to ID as appropriate for the ID
542
542
formats a given GraphQL service expects. Any other input value, including float
543
- input values (such as ` 4.0 ` ), must raise a query error indicating an incorrect
543
+ input values (such as ` 4.0 ` ), must raise a request error indicating an incorrect
544
544
type.
545
545
546
546
@@ -1382,7 +1382,7 @@ reasonable coercion is not possible they must raise a field error.
1382
1382
** Input Coercion**
1383
1383
1384
1384
GraphQL has a constant literal to represent enum input values. GraphQL string
1385
- literals must not be accepted as an enum input and instead raise a query error.
1385
+ literals must not be accepted as an enum input and instead raise a request error.
1386
1386
1387
1387
Query variable transport serializations which have a different representation
1388
1388
for non-string symbolic values (for example, [ EDN] ( https://github.com/edn-format/edn ) )
@@ -1510,7 +1510,7 @@ type of an Object or Interface field.
1510
1510
**Input Coercion **
1511
1511
1512
1512
The value for an input object should be an input object literal or an unordered
1513
- map supplied by a variable , otherwise a query error must be thrown . In either
1513
+ map supplied by a variable , otherwise a request error must be thrown . In either
1514
1514
case , the input object literal or unordered map must not contain any entries
1515
1515
with names not defined by a field of this input object type , otherwise an error
1516
1516
must be thrown .
@@ -1702,7 +1702,7 @@ the parent field. For more information on this process, see
1702
1702
If an argument or input -object field of a Non -Null type is not provided , is
1703
1703
provided with the literal value {null }, or is provided with a variable that was
1704
1704
either not provided a value at runtime , or was provided the value {null }, then
1705
- a query error must be raised .
1705
+ a request error must be raised .
1706
1706
1707
1707
If the value provided to the Non -Null type is provided with a literal value
1708
1708
other than {null }, or a Non -Null variable value , it is coerced using the input
0 commit comments