From 6f7541f2934a1ed15d76bb8d9364d9791f83b66b Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Thu, 9 Nov 2023 14:32:51 +0000 Subject: [PATCH 1/2] Fix CoerceArgumentValues() hasValue --- spec/Section 6 -- Execution.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/Section 6 -- Execution.md b/spec/Section 6 -- Execution.md index 8efd401a4..7e9f76b2c 100644 --- a/spec/Section 6 -- Execution.md +++ b/spec/Section 6 -- Execution.md @@ -609,17 +609,17 @@ CoerceArgumentValues(objectType, field, variableValues): - Let {argumentName} be the name of {argumentDefinition}. - Let {argumentType} be the expected type of {argumentDefinition}. - Let {defaultValue} be the default value for {argumentDefinition}. - - Let {hasValue} be {true} if {argumentValues} provides a value for the name - {argumentName}. - Let {argumentValue} be the value provided in {argumentValues} for the name {argumentName}. - If {argumentValue} is a {Variable}: - Let {variableName} be the name of {argumentValue}. - - Let {hasValue} be {true} if {variableValues} provides a value for the name - {variableName}. - - Let {value} be the value provided in {variableValues} for the name - {variableName}. - - Otherwise, let {value} be {argumentValue}. + - If {variableValues} provides a value for the name {variableName}: + - Let {hasValue} be {true}. + - Let {value} be the value provided in {variableValues} for the name + {variableName}. + - Otherwise if {argumentValues} provides a value for the name {argumentName}. + - Let {hasValue} be {true} + - Let {value} be {argumentValue}. - If {hasValue} is not {true} and {defaultValue} exists (including {null}): - Add an entry to {coercedValues} named {argumentName} with the value {defaultValue}. From 47e49041ebcadf43392100ee2c9a8b6ed4ac51e4 Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Thu, 28 Nov 2024 17:58:47 +0000 Subject: [PATCH 2/2] Add a period --- spec/Section 6 -- Execution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/Section 6 -- Execution.md b/spec/Section 6 -- Execution.md index 7e9f76b2c..fc746365a 100644 --- a/spec/Section 6 -- Execution.md +++ b/spec/Section 6 -- Execution.md @@ -618,7 +618,7 @@ CoerceArgumentValues(objectType, field, variableValues): - Let {value} be the value provided in {variableValues} for the name {variableName}. - Otherwise if {argumentValues} provides a value for the name {argumentName}. - - Let {hasValue} be {true} + - Let {hasValue} be {true}. - Let {value} be {argumentValue}. - If {hasValue} is not {true} and {defaultValue} exists (including {null}): - Add an entry to {coercedValues} named {argumentName} with the value