Open akosyakov opened 6 years ago
@akosyakov seems like we need to implement rebindNamed
and rebindTagged()
?
See #447 for a solution
I would happily do a pull request.
Should the container have the method ?
Should the binding syntax be extended ?
container.bind
interface UnbindRebind<T>{
unbind():void
rebind<T>:interfaces.BindingToSyntax<T>
rebindValue(newValue:any):void//or rebindTo/rebindToSelf
}
I have opted for extending the fluent syntax. I should hopefully have a pull request tomorrow.
See https://github.com/theia-ide/theia/pull/1664/files#r182040835