diff --git a/LeStorage/Codables/Settings.swift b/LeStorage/Codables/Settings.swift index c6808bd..6cb75e8 100644 --- a/LeStorage/Codables/Settings.swift +++ b/LeStorage/Codables/Settings.swift @@ -18,6 +18,9 @@ class Settings: MicroStorable { var deviceId: String? = nil var lastSynchronization: String = "2000-01-01T00:00:00.000000Z" + // WARNING: adding mandatory variable is not without consequences !!! + // Please add to the decoder below + required init(from decoder: Decoder) throws { let container = try decoder.container(keyedBy: CodingKeys.self)