Skip to content

Commit 40bf812

Browse files
committed
Revert "debugging"
This reverts commit a81348c.
1 parent a81348c commit 40bf812

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

apollo-ios/Sources/ApolloAPI/SelectionSet+Equatable.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,13 @@ public extension SelectionSet {
4242
_ lhs: T,
4343
_ rhs: any Hashable
4444
) -> Bool {
45-
if lhs != rhs as? T && String(describing: lhs) == "FriendsConnection" {
45+
if lhs != rhs as? T {
4646
print("""
4747
equatableCheck failure on \(String(describing: self))
4848
T: \(String(describing: T.self))
4949
lhs: \(lhs)
50-
rhs: \(rhs), as! T: \(rhs as! T)
50+
rhs: \(rhs), as? T: \(rhs as? T)
5151
""")
52-
53-
return lhs == rhs as! T
5452
}
5553

5654
return lhs == rhs as? T

0 commit comments

Comments
 (0)