ditox icon indicating copy to clipboard operation
ditox copied to clipboard

Binding a module with "scoped" scope must use "scoped" for its nested imports by default.

Open mnasyrov opened this issue 1 year ago • 0 comments

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.

mnasyrov avatar May 22 '24 21:05 mnasyrov