Closed mackoj closed 4 years ago
I'm interested in the use case you have for this @mackoj? What code are you writing that makes use of the fact that all responses are codable?
I think it's natural for my models that are simple struct to have an interface for simply serialized them.
With this I can:
This simplify my testing story and the development workflow.
Add a new option
codableModel
to allow all models to be Codable by default. For it to work I have to make AnyCodable public and make it a requirement for theAnyResponseValue.SuccesType
andApiResponseValue.SuccesType