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

Create container parent / child logic #6

Open
ncipollo opened this issue Dec 13, 2023 · 0 comments
Open

Create container parent / child logic #6

ncipollo opened this issue Dec 13, 2023 · 0 comments

Comments

@ncipollo
Copy link
Contributor

In this ticket we will add support for creating child containers. A child container will look in it's dependency graph first, then in that of it's parents. This will allow us to have slim feature specific components which contain only dependencies for the feature (and call through to the app container for common ones).

Implementation Details

  • Child containers should have a strong reference to the parent.
  • WhoopDI should also have methods to create feature containers (which will basically just be a child container of the app container).
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

1 participant