Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why NamedScopeParameter Have ShouldInherit false #15

Open
nrojo opened this issue Jun 24, 2016 · 0 comments
Open

Why NamedScopeParameter Have ShouldInherit false #15

nrojo opened this issue Jun 24, 2016 · 0 comments

Comments

@nrojo
Copy link

nrojo commented Jun 24, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant