ngx-distributed-shm
ngx-distributed-shm copied to clipboard
DI integration
Hi, Currently, there is no dependency injection, dependencies are instanciates in classes who needs them. The main drawback : writing unit test is not easy, you will need PowerMock, mock constructor call, and maybe mock static method too
Integrating a minimalist DI framework can solve this.
This article talk about Micronaut DI integration with vertx : https://taraskohut.medium.com/vert-x-micronaut-do-we-need-dependency-injection-in-the-microservices-world-84e43b3b228e