Skip to content

Commit ee80b36

Browse files
committed
Further editing
1 parent 560a9cb commit ee80b36

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

spec/Section 5 -- Validation.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,22 +1306,22 @@ fragment resourceFragment on Resource {
13061306
- For each literal Input Value {value} in the document:
13071307
- Let {type} be the type expected in the position {value} is found.
13081308
- {value} must be coercible to {type} (with the assumption that any
1309-
{variableUsage} nested within {value} will represent a runtime value
1310-
suitable for usage in its position).
1309+
{variableUsage} nested within {value} will represent a runtime value valid
1310+
for usage in its position).
13111311

13121312
**Explanatory Text**
13131313

13141314
Literal values must be compatible with the type expected in the position they
13151315
are found as per the coercion rules defined in the Type System chapter.
13161316

1317-
A {ListValue} or {ObjectValue} may nest additional Input Values, some of which
1318-
may be a {variableUsage}. The
1317+
Note: A {ListValue} or {ObjectValue} may contain nested Input Values, some of
1318+
which may be a variable usage. The
13191319
[All Variable Usages Are Allowed](#sec-All-Variable-Usages-Are-Allowed)
1320-
validation rule asserts that each {variableUsage} is of a type allowed in that
1321-
position, and the [Coercing Variable Values](#sec-Coercing-Variable-Values)
1322-
algorithm will ensure runtime values of these variables coerce correctly, thus
1323-
we can assume the runtime value of each {variableUsage} will be suitable for
1324-
usage in its position.
1320+
validation rule ensures that each {variableUsage} is of a type allowed in its
1321+
position. The [Coercing Variable Values](#sec-Coercing-Variable-Values)
1322+
algorithm ensures runtime values for variables coerce correctly. Therefore we
1323+
can assume the runtime value of each {variableUsage} is valid for usage in its
1324+
position.
13251325

13261326
The type expected in a position includes the type defined by the argument a
13271327
value is provided for, the type defined by an input object field a value is

0 commit comments

Comments
 (0)