mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-20 15:41:32 +01:00
Merge branch 'develop' into prototype/Swift_3_2
# Conflicts: # Sources/DynamicSchema+Convenience.swift
This commit is contained in:
commit
0b57cff27d
5 files changed
+15
-15
No files matched your search
@@ -114,7 +114,7 @@ public extension DynamicSchema {
|
||||
}
|
||||
case .decimalAttributeType:
|
||||
valueType = NSDecimalNumber.self
|
||||
if let defaultValue = (attribute.defaultValue as! NSDecimalNumber.QueryableNativeType?).flatMap(NSDecimalNumber.cs_fromQueryableNativeType) {
|
||||
if let defaultValue = (attribute.defaultValue as! NSDecimalNumber?) {
|
||||
|
||||
defaultString = ", initial: NSDecimalNumber(string: \"\(defaultValue.description(withLocale: nil))\")"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user