minor fixes

This commit is contained in:
John Estropia
2017-01-06 15:56:47 +09:00
parent 16def2d84b
commit 06a1919e91
2 changed files with 7 additions and 4 deletions

View File

@@ -231,8 +231,11 @@ public extension BaseDataTransaction {
try autoreleasepool {
if let object = existingObjectsByID[objectID] {
guard entityType.shouldUpdate(from: source, in: self) else { return }
guard entityType.shouldUpdate(from: source, in: self) else {
return
}
try object.update(from: source, in: self)
result.append(object)
}