You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I want to return undefined if I forgot to bind a class (i.e. for unit tests). Could you fix to don't use bind() method in get() method()? I don't want to bind if I need just get type.
The text was updated successfully, but these errors were encountered:
I think we can create some configuration option to the Container to enable this behavior you want. I can not just change it because it would break a lot of code. In addition, auto bind is a nice feature that can reduce the configuration in many cases.
Currently, if we didn't bind type, it will be bound on get method:
But I want to return undefined if I forgot to bind a class (i.e. for unit tests). Could you fix to don't use bind() method in get() method()? I don't want to bind if I need just get type.
The text was updated successfully, but these errors were encountered: