Add support to invoke a function between multiple containers#289
Add support to invoke a function between multiple containers#289RobyFerro wants to merge 5 commits intouber-go:masterfrom
Conversation
|
Roberto Ferro seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
This method can be also used to invoke reflected interface: |
|
Oops, I missed that this was a re-open of #288. Dig and Fx rely heavily on reflection to implement their functionality. Creating per-request containers to (presumably) build a request-scoped handler |
This implementation allows developers to invoke specific function between multiple containers.
This may be useful in case of you have a container instantiated at application startup (singleton container) and a second container instantiated just before handle every HTTP request (factory container).
With GroupInvoke you can resolve dependencies across singleton and factory container.