Flight-School / AnyCodable

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

Embed in Swift? #11

Closed cianiandreadev closed 6 years ago

cianiandreadev commented 6 years ago

Simple question:

@mattt , why something like that cannot be embed on Swift itself? It's super handy. I bought your book anyway! Thanks for your amazing contributions :)

mattt commented 6 years ago

Hi @cianiandreadev. Thanks for the kind words and your support.

The decision of what goes into the Swift Standard Library is not mine to make. I can't speak for the maintainers, but my understanding is that there's a concern about encouraging incorrect use of Codable.