diff --git a/MVMCore/MVMCore/Utility/PropertyWrappers/DecodableDefault.swift b/MVMCore/MVMCore/Utility/PropertyWrappers/DecodableDefault.swift index 13db64a..9d1bb69 100644 --- a/MVMCore/MVMCore/Utility/PropertyWrappers/DecodableDefault.swift +++ b/MVMCore/MVMCore/Utility/PropertyWrappers/DecodableDefault.swift @@ -66,8 +66,8 @@ extension DecodableDefault { public static var defaultValue: T { [:] } } - public struct UUIDSource: DecodableDefaultSource { - public static var defaultValue: String { Foundation.UUID().uuidString } + public struct UUIDStringSource: DecodableDefaultSource { + public static var defaultValue: String { UUID().uuidString } } } } @@ -78,7 +78,7 @@ extension DecodableDefault { public typealias EmptyString = Wrapper public typealias EmptyList = Wrapper> public typealias EmptyMap = Wrapper> - public typealias UUID = Wrapper + public typealias UUIDString = Wrapper } extension DecodableDefault.Wrapper: Equatable where Value: Equatable {}