ditox
ditox copied to clipboard
Binding a module with "scoped" scope must use "scoped" for its nested imports by default.
A module with "scoped" scope must bind its dependant modules from "imports" with "scoped" scope by default, not "singleton".
Current behaviour with "singleton" default scope leads to binding dependant modules to a parent container. These modules will not destroyed together with a child container.