adrien2p / medusa-extender

:syringe: Medusa on steroid, take your medusa project to the next level with some badass features :rocket:
https://adrien2p.github.io/medusa-extender/
MIT License
321 stars 39 forks source link

[BUG]: module loader: decorated and dynamic modules #134

Closed vkislichenko closed 2 years ago

vkislichenko commented 2 years ago

Describe the bug when decorated and dynamic modules are loaded together presenting InjectableOptions with intersecting ComponentTypes - only entries from last one is used

To Reproduce Steps to reproduce the behavior:

  1. load 2 or more modules that inject services and one of the modules is decorated and another one is dynamic
  2. only services from decorated module will be actually loaded

Expected behavior All services are loaded

Additional context Fix in PR #133