Commit Graph

6 Commits

Author SHA1 Message Date
Daniel Chao cf45d102cb
Fix Swift mapping of ints within unions (#47)
This fixes an issue where a union with an int member cannot decode
any value that is out of the Int8 bounds.

Also: make SingleValueDecodingContainer throw `typeMismatch` errors
when the expected type doesn't match.
2025-02-26 09:12:56 -08:00
Daniel Chao 9c36448681
Make enums of string literals conform to CodingKeyRepresentable (#45)
Fixes an issue where mappings of enums fail to be decoded into Swift
2025-02-25 07:10:50 -08:00
Kushal Pisavadia b7e694ea3c
Configure `hawkeye` to update license headers (#38)
Adds configuration to format/check license headers with hawkeye.

Also, runs the formatter on the repo.
2025-02-17 12:45:41 -08:00
Daniel Chao b253e83f7b
Fix enum decoding (#39)
Fixes an issue where `5.0` in Pkl can possibly be cast to `Int`
2025-02-03 10:50:36 -08:00
Philip K.F. Hölzenspies b23fd2369f
Remove custom Pair type (#21) 2024-05-03 16:31:40 +01:00
Dan Chao 34ea34f487 Init 2024-02-01 21:47:57 -08:00