Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gaps/GAP-10/DRAFT.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ ValidateNoNestedMocks(selectionSet, isMockedByParent) :

## No Conflicting Mocks

If multiple equivalent selections ({Field Selection Merging}) exist for a field,
If multiple equivalent selections ({FieldSelectionMerging}) exist for a field,
either all must use `@mock` with identical arguments, or none may use `@mock`.
This rule extends across fragment boundaries.

Expand All @@ -578,7 +578,7 @@ query GetFoo($id: ID!) {

ValidateNoConflictingMocks(operationDefinition) :
1. Collect all fields in the operation, expanding fragment spreads, grouped by
{response name}.
{ResponseName}.
1. For each group of fields sharing a response name:
* If any field has a `@mock` directive, every field in the group must have
a `@mock` directive with identical arguments.
Expand Down
4 changes: 2 additions & 2 deletions gaps/GAP-10/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"SelectionSet": "#SelectionSet",
"CompleteValue()": "#CompleteValue()",
"CoerceArgumentValues()": "#CoerceArgumentValues()",
"response name": "#response-name",
"Field Selection Merging": "#sec-Field-Selection-Merging"
"ResponseName": "#response-name",
"FieldSelectionMerging": "#sec-Field-Selection-Merging"
}
}
}