- Passing Context Into Swift Codable Using UserInfo
I recently encountered a problem where I needed to provide a Codable type with more context than what was available in the JSON payload. This led me to discover the userInfo dictionary on the JSONDecoder type...