adamayoung / TMDb

The Movie Database Swift Package
https://adamayoung.github.io/TMDb/documentation/tmdb
Apache License 2.0
112 stars 29 forks source link

Enhancement: make some structs (like TVShow, Movie and Show enum) conform to Encodable and Codable protocols #87

Closed thepantalion closed 1 year ago

thepantalion commented 1 year ago

a basic implementation might be to just encode only the basic needed data, like id and: title for a movie, name for a show then retrieve other needed data with a manual call to the methods that talk to TMDb

thanks~

adamayoung commented 1 year ago

Hi @thepantalion. Thanks for using my TMDb Swift Package 🙏🏻

If you take a look at the main branch you'll see all models conform to Codable.