Skip to content

Why NamedScopeParameter Have ShouldInherit false #15

Description

@nrojo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions