Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed May 20, 2024
1 parent 548163a commit 210a814
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/Section 6 -- Execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ CollectFields(objectType, selectionSet, variableValues, visitedFragments, localV
- If {DoesFragmentTypeApply(objectType, fragmentType)} is {false}, continue
with the next {selection} in {selectionSet}.
- Let {localVariableValues} be the result of calling
{getArgumentValuesFromSpread(fragmentSpread, schema, fragmentDefinition.variableDefinitions, variableValues, localVariableValues)}.
{getArgumentValuesFromSpread(selection, fragmentDefinition, variableValues, localVariableValues)}.
- Let {fragmentGroupedFieldSet} be the result of calling
{CollectFields(objectType, fragmentSelectionSet, variableValues,
visitedFragments)}.
Expand Down Expand Up @@ -566,10 +566,10 @@ DoesFragmentTypeApply(objectType, fragmentType):
- If {objectType} is a possible type of {fragmentType}, return {true}
otherwise return {false}.

getArgumentValuesFromSpread(fragmentSpread, schema, fragmentDefinitionVariableDefinitions, variableValues, fragmentArgumentValues):
getArgumentValuesFromSpread(fragmentSpread, fragmentDefinition, variableValues, fragmentArgumentValues):

- Let {coercedValues} be an empty unordered Map.
- For each {variableDefinition} in {fragmentDefinitionVariableDefinitions}:
- For each {variableDefinition} in {fragmentDefinition}:
- Let {variableName} be the name of {variableDefinition}.
- Let {variableType} be the type of {variableDefinition}.
- Let {defaultValue} be the default value for {variableDefinition}.
Expand Down

0 comments on commit 210a814

Please sign in to comment.