mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-18 14:48:28 +01:00
fix tests
This commit is contained in:
1 parent
890e150b95
commit
1ea9ad7c4a
12 files changed
+109
-58
No files matched your search
@@ -177,6 +177,11 @@ public final class ObjectPublisher<O: DynamicObject>: ObjectRepresentation, Hash
|
||||
|
||||
public typealias ObjectType = O
|
||||
|
||||
public func persistentID() -> O.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