mnasyrov / ditox

Dependency injection for modular web applications
https://ditox.js.org
MIT License
92 stars 8 forks source link

Binding a module with "scoped" scope creates a new factory in the child container #38

Closed chartyom closed 4 months ago

chartyom commented 4 months ago

Hi I bound a factory with a "scoped" scope in the parent container. When I get a factory by token from the child container, then the factory is bound to the child container In this case, the factory is initialized twice.

mnasyrov commented 4 months ago

Closed by #40