oci-go-sdk
oci-go-sdk copied to clipboard
Clients should implement interfaces
Currently the various clients are all structs, which means they are not easily testable. This is going to require consumers of the SDK to implement their own interfaces on top of the SDK so that the clients can be mocked. This was a common pattern with consumers of the original SDK.
I don't believe this is an enhancement and is a requirement before shipping. We are having the same problem with mocking out the interface.
@eginez can you take another look at this one?
hey all I'll be working on this next! stay tunned