optimizations

This commit is contained in:
John Estropia committed 2019-11-29 20:09:43 +09:00
1 parent 4ee1b04523
commit b12dba4d15
7 files changed
+92 -25

No files matched your search

+2 -1
View File
@@ -52,7 +52,8 @@ extension DataStack {
*/
public func publishObject<O: DynamicObject>(_ objectID: O.ObjectID) -> ObjectPublisher<O> {
return ObjectPublisher<O>(objectID: objectID, context: self.unsafeContext())
let context = self.unsafeContext()
return context.objectPublisher(objectID: objectID)
}
/**