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
I was getting an error creating NamedScopes When Injecting IResolutionRoot inside nested clases. ContextPreservation wraps the request and don't inherit parent context parameters. All of this get solved, in my case, by changing ShouldInherit to true when creating the NamedScopeParameter.
The Problem is that ShouldInherit is set hardcoded to false. There is a collateral effect on changing this to true, or at least making configurable from whom creates the namedscope?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I was getting an error creating NamedScopes When Injecting IResolutionRoot inside nested clases. ContextPreservation wraps the request and don't inherit parent context parameters. All of this get solved, in my case, by changing ShouldInherit to true when creating the NamedScopeParameter.
The Problem is that ShouldInherit is set hardcoded to false. There is a collateral effect on changing this to true, or at least making configurable from whom creates the namedscope?
Thanks.
The text was updated successfully, but these errors were encountered: