We validate API responses on the domain layer, but directly assign the type in the datasources. This means that the response types are not necessarily correct.
This types all the ITransactionApi responses as "raw". These responses can therefore not be used directly unless they are validated.
Partial implementation of #1731
Summary
We validate API responses on the domain layer, but directly assign the type in the datasources. This means that the response types are not necessarily correct.
This types all the
ITransactionApi
responses as "raw". These responses can therefore not be used directly unless they are validated.Changes
Raw
utility type toITransactionApi