Flight-School / AnyCodable

Type-erased wrappers for Encodable, Decodable, and Codable values
https://flight.school/books/codable
MIT License
1.28k stars 132 forks source link

Fix wrong ObjC type mapping #69

Closed bddq closed 2 years ago

bddq commented 2 years ago

Following #65 and issue #67 I found that my updates were right but the encoder tried to encode NSNumber before a boolean. Changing order in switch resolved the issue.

Unit tests with old true boolean value were restored.

bddq commented 2 years ago

Any news @minacle?

minacle commented 2 years ago

Sorry for the late reaction! I have been busy for my personal reason.