Skip to content

Commit f682378

Browse files
gh-action-runnergh-action-runner
authored andcommitted
Squashed 'apollo-ios/' changes from 0adf0250..0ae62c4c
0ae62c4c fix: `GraphQLOperation` hash uniqueness (#530) git-subtree-dir: apollo-ios git-subtree-split: 0ae62c4c8290cde92bbc63b42cfa09975a3afff5
1 parent 0b42c94 commit f682378

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/ApolloAPI/GraphQLOperation.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ public extension GraphQLOperation {
121121
}
122122

123123
func hash(into hasher: inout Hasher) {
124+
hasher.combine(Self.operationType)
125+
hasher.combine(Self.operationName)
124126
hasher.combine(__variables?._jsonEncodableValue?._jsonValue)
125127
}
126128
}

0 commit comments

Comments
 (0)