mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-09-10 03:41:53 +02:00
fix tests
This commit is contained in:
@@ -69,6 +69,11 @@ public struct ObjectSnapshot<O: DynamicObject>: ObjectRepresentation, Hashable,
|
||||
|
||||
public typealias ObjectType = O
|
||||
|
||||
public func persistentID() -> ObjectType.ObjectID {
|
||||
|
||||
return .init(managedObjectID: self.managedObjectID)
|
||||
}
|
||||
|
||||
public func asPublisher(in dataStack: DataStack) -> ObjectPublisher<O> {
|
||||
|
||||
let context = dataStack.unsafeContext()
|
||||
|
||||
Reference in New Issue
Block a user