Replies: 1 comment
-
Implemented in #88 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe it.
Some bindings need access to the container, eg. a binding to create a child container. Currently you could bind in a function to generate child containers but it would need access to the original container somehow which leads to constructs like container modules which take the container in as an argument instead of being agnostic.
Describe the solution you'd like.
Ideally this factory binding would leverage the existing
toDynamicValue
logic to provide the planner a way to know ahead of time what dependencies the factory has.Example client-side usage:
Describe alternatives you've considered.
No response
Any additional context you'd like to provide?
No response
Beta Was this translation helpful? Give feedback.
All reactions