Skip to content

Commit 8ada467

Browse files
fluidsonicleebyron
authored andcommitted
Fixed that CoerceArgumentValues refers to variableType (#659)
… instead of `argumentType`
1 parent 09cdaec commit 8ada467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 6 -- Execution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,9 +596,9 @@ CoerceArgumentValues(objectType, field, variableValues):
596596
value {value}.
597597
* Otherwise:
598598
* If {value} cannot be coerced according to the input coercion
599-
rules of {variableType}, throw a field error.
599+
rules of {argumentType}, throw a field error.
600600
* Let {coercedValue} be the result of coercing {value} according to the
601-
input coercion rules of {variableType}.
601+
input coercion rules of {argumentType}.
602602
* Add an entry to {coercedValues} named {argumentName} with the
603603
value {coercedValue}.
604604
* Return {coercedValues}.

0 commit comments

Comments
 (0)