You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was discovered in the k8s API, which (simplified) uses this pattern:
Foo:
allOf:
type: stringformat: date-time
When decoding the generated struct with the single value property in it of type Date, the Date decoding doesn't get caught by the decoding strategy on the JSONDecoder, instead it goes directly to Date.init(from:), because of how we generate the code.