Skip to content

Commit

Permalink
Fixed that CoerceArgumentValues refers to variableType (#659)
Browse files Browse the repository at this point in the history
… instead of `argumentType`
  • Loading branch information
fluidsonic authored and leebyron committed Jan 10, 2020
1 parent 09cdaec commit 8ada467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/Section 6 -- Execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,9 +596,9 @@ CoerceArgumentValues(objectType, field, variableValues):
value {value}.
* Otherwise:
* If {value} cannot be coerced according to the input coercion
rules of {variableType}, throw a field error.
rules of {argumentType}, throw a field error.
* Let {coercedValue} be the result of coercing {value} according to the
input coercion rules of {variableType}.
input coercion rules of {argumentType}.
* Add an entry to {coercedValues} named {argumentName} with the
value {coercedValue}.
* Return {coercedValues}.
Expand Down

0 comments on commit 8ada467

Please sign in to comment.