Working on fixing this issue
This commit is contained in:
parent
e89694e24b
commit
b1624e3852
|
@ -65,7 +65,7 @@ open class StORM : StORMMirror {
|
|||
return try! (v as! [String:Any]).jsonEncodedString()
|
||||
default:
|
||||
// Here we will support new database types by returning what we need conforming to CustomStringConvertable.
|
||||
return String(describing: v)
|
||||
return v
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -89,6 +89,7 @@ extension Array where Iterator.Element == Mirror {
|
|||
var allChild : [Mirror.Child] = []
|
||||
for mirror in self {
|
||||
mirror.children.forEach({ (child) in
|
||||
print(child)
|
||||
// Make sure our child has a label & the string describing the value is not nil. (Making optionals supported)
|
||||
if !includingNilValues {
|
||||
if child.label.isNotNil, String(describing: child.value) != "nil" {
|
||||
|
|
Loading…
Reference in New Issue