Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Change APIReturnable to be a simple wrapper around decodable #6

@rauhul

Description

@rauhul

Since Decodable is swift's goto protocol for object serialization, it doesn't make sense for APIReturnable to require implementation beyond Decodable. The only additional information needed to convert from Data to the desired object is a Decoder, which should be the only property required for class to be decodable.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions