HowProgrammingWorks / NodejsStarterKit

Starter Kit for Node.js 16 or later, minimum dependencies 🚀
http://metarhia.com
MIT License
462 stars 102 forks source link

Implement dependency injection in core #72

Closed tshemsedinov closed 4 years ago

tshemsedinov commented 4 years ago

We need to pass application to all core modules not with aggregation (as we implemented this in v1) but with dependency injection, so we can use either global or sandbox context.

tshemsedinov commented 4 years ago

In this Starter Kit we will use dependency loader as a quick solution for this certain issue: https://github.com/HowProgrammingWorks/NodejsStarterKit/issues/85 but DI will be implemented in https://github.com/metarhia/StarterKit