Skip to content

Commit ec6ca05

Browse files
committed
debugging
1 parent 05140b8 commit ec6ca05

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ public extension SelectionSet {
1515
/// that are relevant to the `SelectionSet`. This ensures that equality checks for a fragment do not
1616
/// consider fields that are not included in the fragment, even if they are present in the data.
1717
static func ==(lhs: Self, rhs: Self) -> Bool {
18-
print("SelectionSet::== for \(String(describing: self))")
18+
if String(describing: self) == "FriendsConnection" {
19+
print("""
20+
SelectionSet::==
21+
lhs: \(lhs.fieldsForEquality())
22+
rhs: \(rhs.fieldsForEquality())
23+
""")
24+
}
25+
1926
return Self.equatableCheck(
2027
lhs.fieldsForEquality(),
2128
rhs.fieldsForEquality()

0 commit comments

Comments
 (0)