mnasyrov / ditox

Dependency injection for modular web applications

Home Page:https://ditox.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

chartyom opened this issue · comments

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.

Closed by #40