mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-07-11 07:12:41 +02:00
user #keyPath() for keys in demo app and in unit tests
This commit is contained in:
@@ -65,6 +65,6 @@ public struct Tweak: FetchClause, QueryClause, DeleteClause {
|
||||
|
||||
public func applyToFetchRequest<ResultType: NSFetchRequestResult>(_ fetchRequest: NSFetchRequest<ResultType>) {
|
||||
|
||||
self.closure(unsafeBitCast(fetchRequest, to: NSFetchRequest<NSFetchRequestResult>.self))
|
||||
self.closure(fetchRequest as! NSFetchRequest<NSFetchRequestResult>)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user