Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

ComponentDirectiveInjectors should break the injection resolution (similar to isolate scopes) #1378

Closed
@rkirov

Description

@rkirov

For example if we have:
I1: DI <- I2: CDI <- I3: DI
and type A lives in I1 only, I2.get(A) should return instance of A, while I3.get(A) should get a resolution error.

This would provide injection isolation, akin to CSS isolation within shadowDom.

The code and tests for that feature are in #1244. They are commented out since they are breaking clients. This is a tracking issue for turning turning them on and discussion about the change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions