From 8ada467ed5bc3b72ccd42508f5bb56a7ef3b1328 Mon Sep 17 00:00:00 2001 From: Marc Knaup Date: Sat, 11 Jan 2020 05:28:54 +0800 Subject: [PATCH] Fixed that `CoerceArgumentValues` refers to `variableType` (#659) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … instead of `argumentType` --- spec/Section 6 -- Execution.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/Section 6 -- Execution.md b/spec/Section 6 -- Execution.md index 7a0352988..ff54f89ed 100644 --- a/spec/Section 6 -- Execution.md +++ b/spec/Section 6 -- Execution.md @@ -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}.