Huject
Huject copied to clipboard
Child Containers?
I would like have a parent container which has some properties already defined on it and then create a child container with certain extra properties registered on it (ex: req, res) , which can resolve parent properties through its parent container and child properties through itself. Something like a request level container?
@pyros2097 I've been always avoiding child containers since i thought it's leading to bad design. Also i never encountered that someone was testing requests/responses by unit tests (it's better to cover them by functional tests). Anyway i'm planning to update the library in short time, i'll consider your request