4 ms·
You know what they say: Every problem can be solved by introducing another layer of indirection. Etc. ;-) But seriously, that sounds like a very good idea if o
by krylon 8y ago
You know what they say: Every problem can be solved by introducing another layer of indirection. Etc. ;-)
But seriously, that sounds like a very good idea if one has to target multiple platforms work with a change-prone API.
- grogenaut 8y agoWell think about it, if you're unit testing or functional testing (full stack api based but mocked out downstreams) then you have at least 2 maybe 3 platforms to run against. The real, the mock and maybe the more fancy mock for the functional tests. So say you were talking directly to dynamo api for all of this, it's a lot harder to mock out the dynamo API than it is to mock out a simple 3 method interface.