โ‰ˆ the.bay.news

LenientCodable โ€” resilient Codable decoding with macros (lenient by default, strict by opt-in)

Swift Forums
LenientCodable โ€” resilient Codable decoding with macros (lenient by default, strict by opt-in)
Hey everyone ๐Ÿ‘‹ I'd like to share LenientCodable, a macro package for resilient Codable decoding. GitHub: GitHub - EngOmarElsayed/swift-lenient-codable: Swift macros for resilient Codable โ€” one unknown enum case or malformed array element no longer fails your whole response. Lenient by default, strict by explicit opt-in, with compile-time diagnostics and fix-its. ยท GitHub Docs: LenientCodable Documentation The problem Swift's synthesized decoding is all-or-nothing. One surprise an...

0 comments

Sign in to join the discussion โ€” your thebay.events account works here.

No comments yet.