mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-21 17:09:10 +01:00
minor fixes
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
@@ -117,8 +117,8 @@ extension CoreStoreError: CustomDebugStringConvertible, CoreStoreDebugStringConv
|
||||
|
||||
let firstLine: String
|
||||
var info: DumpInfo = [
|
||||
("_domain", self._domain),
|
||||
("_code", self._code),
|
||||
("errorDomain", type(of: self).errorDomain),
|
||||
("errorCode", self.errorCode),
|
||||
]
|
||||
switch self {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user