Skip to content

Commit 05140b8

Browse files
committed
debugging
1 parent 8cef512 commit 05140b8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Tests/ApolloPaginationTests/ReversePaginationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ final class ReversePaginationTests: XCTestCase, CacheDependentTesting {
9898
data.hero.friendsConnection.__data._fulfilledFragments equal: \(first?.data?.hero.friendsConnection.__data._fulfilledFragments == last?.data?.hero.friendsConnection.__data._fulfilledFragments)
9999
data.hero.friendsConnection.__data._deferredFragments equal: \(first?.data?.hero.friendsConnection.__data._deferredFragments == last?.data?.hero.friendsConnection.__data._deferredFragments)
100100
data.hero.friendsConnection.__typename equal: \(first?.data?.hero.friendsConnection.__typename == last?.data?.hero.friendsConnection.__typename)
101-
data.hero.friendsConnection.__objectType equal: \(first?.data?.hero.friendsConnection.__objectType == last?.data?.hero.friendsConnection.__objectType)
101+
data.hero.friendsConnection.__objectType equal: \(first?.data?.hero.friendsConnection.__objectType == last?.data?.hero.friendsConnection.__objectType)
102102
data.hero.friendsConnection._fieldData equal: \(first?.data?.hero.friendsConnection._fieldData == last?.data?.hero.friendsConnection._fieldData)
103103
data.hero.friendsConnection._rawData equal: \(first?.data?.hero.friendsConnection._rawData == last?.data?.hero.friendsConnection._rawData)
104104
data.hero.friendsConnection.totalCount equal: \(first?.data?.hero.friendsConnection.totalCount == last?.data?.hero.friendsConnection.totalCount)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ 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))")
1819
return Self.equatableCheck(
1920
lhs.fieldsForEquality(),
2021
rhs.fieldsForEquality()

0 commit comments

Comments
 (0)