Skip to content

Redesign FormDataEncoder and FormDataDecoder

Compare
Choose a tag to compare
@VaporBot VaporBot released this 19 Sep 12:31
· 29 commits to main since this release
df545a1
This patch was authored and released by @siemensikkema.

Redesign FormDataEncoder and FormDataDecoder to better align with Codable's intended behavior.

  • Support decoding top level optionals (fixes #68)
  • Adds a userInfo property to FormDataDecoder and FormDataEncoder
  • More correct handling of "superDecoder" and "superEncoder"
  • When nesting depth is exceeded we first fail when we’re actually trying to grab data from beyond the nesting limit
  • Add some missing API docs