MaxHasADHD / TraktKit

Swift wrapper for Trakt.tv API.
MIT License
112 stars 37 forks source link

Translation Field in request query and some optional fix #58

Open nosmobilesolutions opened 2 years ago

nosmobilesolutions commented 2 years ago

I added the field translations in the request for seasons and episodes and fixed some optional values marked as required

MaxHasADHD commented 2 years ago

Thank you for this! Sorry it has taken awhile to respond. I'm conflicted on merging because I'm not sure if I want those properties to be optional or to add another type without those properties, to make it more clear about the expectation of what is returned and when, and less unwrapping when you know the data is available. I'll have to think about this a bit and check the documentation.