Skip to content

Commit

Permalink
(hotfix) - Fix typo in Graphcache query from #1859
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Aug 17, 2021
1 parent 37d7e79 commit 334888b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/graphcache/src/operations/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ const readSelection = (
dataFieldValue = null;
} else {
// Otherwise continue as usual
hasFields = fieldName !== '__typename';
hasFields = hasFields || fieldName !== '__typename';
}

// After processing the field, remove the current alias from the path again
Expand Down

0 comments on commit 334888b

Please sign in to comment.