Open NoahKamara opened 1 year ago
Hi @NoahKamara this lib was first implemented without support for Codable
(don't know why).
Migrate to Codable is in the roadmap, feel free to PR a change.
Noting that PR for this issue has been raised here https://github.com/supabase-community/storage-swift/pull/9
Bug report
I've noticed that JSON decoding has some issues (missing keys, optionals not handled) and that you're not using Codable to decode. Is there a particular reason for that?
As far as I'm aware, Codable is available on linux too according to this PR
The Bucket Model for example is almost entirely optional, which is not handled (maybe due to code generation from javascript?)
If there is no reason against implementation with Codable, I'd be up to doing that :)