Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child Containers? #8

Open
pyrossh opened this issue Oct 6, 2016 · 1 comment
Open

Child Containers? #8

pyrossh opened this issue Oct 6, 2016 · 1 comment

Comments

@pyrossh
Copy link

pyrossh commented Oct 6, 2016

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?

@asvetliakov
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants