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
Internal binds are those used by the container to allow customisation of behaviour but they do not make a part of the application. For example Scope instances are typical internal instances. A simple form could be to consider all instances with scope container as internal. A bit more flexible would be if the ScopeLifeCycle has a internal flag field which can be flipped and which would be true for the container scope by default.
The effect of internal scopes would be that lookup would be categorised as internal or external and for external access these resources would be invisible.
The text was updated successfully, but these errors were encountered:
A way to apply the limitation to non internal resources is to wrap the Injector. This could be done as last step before the bootstrapped Injector is returned and/or only when injecting the Injector itself.
Allow to mark binds as internal.
Internal binds are those used by the container to allow customisation of behaviour but they do not make a part of the application. For example
Scope
instances are typical internal instances. A simple form could be to consider all instances with scopecontainer
as internal. A bit more flexible would be if theScopeLifeCycle
has ainternal
flag field which can be flipped and which would betrue
for thecontainer
scope by default.The effect of internal scopes would be that lookup would be categorised as internal or external and for external access these resources would be invisible.
The text was updated successfully, but these errors were encountered: