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.
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.