Skip to content

Commit bc4ddea

Browse files
authored
Fix CoerceArgumentValues() hasValue (#1056)
* Fix CoerceArgumentValues() hasValue * Add a period
1 parent b1a23de commit bc4ddea

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec/Section 6 -- Execution.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -750,17 +750,17 @@ CoerceArgumentValues(objectType, field, variableValues):
750750
- Let {argumentName} be the name of {argumentDefinition}.
751751
- Let {argumentType} be the expected type of {argumentDefinition}.
752752
- Let {defaultValue} be the default value for {argumentDefinition}.
753-
- Let {hasValue} be {true} if {argumentValues} provides a value for the name
754-
{argumentName}.
755753
- Let {argumentValue} be the value provided in {argumentValues} for the name
756754
{argumentName}.
757755
- If {argumentValue} is a {Variable}:
758756
- Let {variableName} be the name of {argumentValue}.
759-
- Let {hasValue} be {true} if {variableValues} provides a value for the name
760-
{variableName}.
761-
- Let {value} be the value provided in {variableValues} for the name
762-
{variableName}.
763-
- Otherwise, let {value} be {argumentValue}.
757+
- If {variableValues} provides a value for the name {variableName}:
758+
- Let {hasValue} be {true}.
759+
- Let {value} be the value provided in {variableValues} for the name
760+
{variableName}.
761+
- Otherwise if {argumentValues} provides a value for the name {argumentName}.
762+
- Let {hasValue} be {true}.
763+
- Let {value} be {argumentValue}.
764764
- If {hasValue} is not {true} and {defaultValue} exists (including {null}):
765765
- Let {coercedDefaultValue} be the result of coercing {defaultValue}
766766
according to the input coercion rules of {argumentType}.

0 commit comments

Comments
 (0)