This PR fixed: #79.
I have added a usingCodable property to Defaults.Key.
If users set usingCodable to false, so the serialization will not use Codable.
Usage
private enum Foo: Int, CaseIterable, Codable, Defaults.Serializable {
case zero
case one
}
let key = Defaults.Key<Foo>(keyName, default: fixture, usingCodable: false)
Summary
This PR fixed: #79. I have added a
usingCodable
property toDefaults.Key
. If users setusingCodable
to false, so the serialization will not useCodable
.Usage