mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-05-27 09:59:29 +02:00
print PartialObjects
This commit is contained in:
@@ -687,6 +687,30 @@ extension OrderBy: CustomDebugStringConvertible, CoreStoreDebugStringConvertible
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// MARK: - PartialObject
|
||||||
|
|
||||||
|
extension PartialObject: CustomDebugStringConvertible, CoreStoreDebugStringConvertible {
|
||||||
|
|
||||||
|
// MARK: CustomDebugStringConvertible
|
||||||
|
|
||||||
|
public var debugDescription: String {
|
||||||
|
|
||||||
|
return formattedDebugDescription(self)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// MARK: CoreStoreDebugStringConvertible
|
||||||
|
|
||||||
|
public var coreStoreDumpString: String {
|
||||||
|
|
||||||
|
return createFormattedString(
|
||||||
|
"(", ")",
|
||||||
|
("rawObject", self.rawObject as Any)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// MARK: - SaveResult
|
// MARK: - SaveResult
|
||||||
|
|
||||||
@available(*, deprecated, message: "Use the new DataStack.perform(asynchronous:...) and DataStack.perform(synchronous:...) family of APIs")
|
@available(*, deprecated, message: "Use the new DataStack.perform(asynchronous:...) and DataStack.perform(synchronous:...) family of APIs")
|
||||||
|
|||||||
Reference in New Issue
Block a user