performant access of relationship objectIDs for snapshots

This commit is contained in:
John Estropia committed 2020-02-21 13:51:17 +09:00
1 parent 361dba58c6
commit 231e138ab0
10 files changed
+121 -89

No files matched your search

+3 -1
View File
@@ -30,7 +30,9 @@ import CoreData
// MARK: - FieldProtocol
internal protocol FieldProtocol: PropertyProtocol {
static var dynamicObjectType: CoreStoreObject.Type { get }
static func read(field: FieldProtocol, for rawObject: CoreStoreManagedObject, bypassThreadCheck: Bool) -> Any?
static func read(field: FieldProtocol, for rawObject: CoreStoreManagedObject) -> Any?
static func modify(field: FieldProtocol, for rawObject: CoreStoreManagedObject, newValue: Any?)
}