Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Sources/SharingGRDBCore/Fetch.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ extension Fetch {
}
}

extension Fetch: CustomReflectable {
public var customMirror: Mirror {
Mirror(reflecting: wrappedValue)
}
}

extension Fetch: Equatable where Value: Equatable {
public static func == (lhs: Self, rhs: Self) -> Bool {
lhs.sharedReader == rhs.sharedReader
Expand Down
6 changes: 6 additions & 0 deletions Sources/SharingGRDBCore/FetchAll.swift
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,12 @@ extension FetchAll {
}
}

extension FetchAll: CustomReflectable {
public var customMirror: Mirror {
Mirror(reflecting: wrappedValue)
}
}

extension FetchAll: Equatable where Element: Equatable {
public static func == (lhs: Self, rhs: Self) -> Bool {
lhs.sharedReader == rhs.sharedReader
Expand Down
6 changes: 6 additions & 0 deletions Sources/SharingGRDBCore/FetchOne.swift
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,12 @@ extension FetchOne {
}
}

extension FetchOne: CustomReflectable {
public var customMirror: Mirror {
Mirror(reflecting: wrappedValue)
}
}

extension FetchOne: Equatable where Value: Equatable {
public static func == (lhs: Self, rhs: Self) -> Bool {
lhs.sharedReader == rhs.sharedReader
Expand Down