Skip to content

Create method to reflect type of Directive and Pipe. #47919

@va-stefanek

Description

@va-stefanek

Which @angular/* package(s) are relevant/related to the feature request?

No response

Description

Currently we have a method to reflect component type reflectComponentType. Unfortunately there is no way to reflect type of Directive and Pipe which might be very useful in case when we want to verify whether they are standalone. Now we are force using method from private api 'ɵisStandalone'.

Proposed solution

Create similar method for Pipes and Directives.

Alternatives considered

Create one common method which will verify whether something is standalone or not, eg exposing isStandalone

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues related to the framework runtimefeatureIssue that requests a new featurefeature: in backlogFeature request for which voting has completed and is now in the backloghelp wantedAn issue that is suitable for a community contributor (based on its complexity/scope).

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions