My question is: can i rebind an instance and re-inject it everywhere i have it injected with [Inject] attribute. Instance was bound like this:
[SerializeField] private MyClass inst;
public override InstallBindings()
{
Container.BindInstance(inst);
}
And then, when inst got changed, i tried to do:
Container.BindInstance(inst);
Container.QueueForInject(inst);
but it didn't work, and every field with type MyClass that was injected like this [Inject] private MyClass inst;
the same as before. Mb i'm just misunderstanding the concept. Is it possible at all?