Skip to content
Discussion options

You must be logged in to vote

No, Depends will not work when you instantiate House manually. And there is no official way to achieve this (to make it resolve dependencies automatically).
In this case you need to pass the value for kitchen parameter explicitly

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@chen-tamarin
Comment options

@YuriiMotov
Comment options

Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem
2 participants