Open dreamerblue opened 2 years ago
Hi @dreamerblue, apologies for the late response here, the project went through a period of low maintenance.
Do you think the solution proposed by @logikaljay for an unbindTagged
method will suit your needs here? We are aiming to publish this functionality in the 6.1.0
release.
cc @PodaruDragos
cc reacting users: @DerKatsche @jhechtf
Background
When using Inversify with possible multi-injection case, our framework have some requirements to control bound dependencies:
Even we can self maintain the constructor map, it's not enough. We still need other metadata like scope, it will be a complex work.
Proposal
We are requesting a series methods to unbind/rebind a specified dependency like this: