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
320 stars 38 forks source link

FIX: modules loader #133

Closed vkislichenko closed 1 year ago

vkislichenko commented 1 year ago

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

issue occurs because when resolved InjectableOptions are assigned to existing ComponentMap there is no check for intersecting keys

FIX I've added constructor to ComponentMap that does it

adrien2p commented 1 year ago

Very nice addition, thank you for your contribution 🤩