should the data source operate by implementing interfaces defined in the repository
01/19/2019, 10:45 AM
imho, you won't gain much with interfaces there. Just inject it directly into Repository implementation.
01/19/2019, 10:48 AM
alright, thanks.. will explore this option
01/20/2019, 9:07 AM
IMHO it depends. Sometimes it's handy to make cache in memory implementation and start to use it, and later to replace it with sqlite implementation, this is a good fit interface approach. But if you know that you won't have another implementations, for backend for instance, then no need for excessive interfaces.