Open natoverse opened 9 years ago
We're currently doing anything 'DI-like' by pulling config params and using them to switch on module names for require statements. That works but will not scale. It also makes it unwieldy to inject mocks for testing.
require
We're currently doing anything 'DI-like' by pulling config params and using them to switch on module names for
require
statements. That works but will not scale. It also makes it unwieldy to inject mocks for testing.