-
Notifications
You must be signed in to change notification settings - Fork 26.6k
feat(core): implement ɵgetInjectorMetadata debug API #51900
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
feat(core): implement ɵgetInjectorMetadata debug API #51900
Conversation
11a43a5
to
181c907
Compare
5659c27
to
41242a4
Compare
64e5ce3
to
1ad95bc
Compare
38ea7d1
to
b8ca5f6
Compare
This API allows for inspection of a given injector to determine it's type (Element, Environment, Null) as well as it's "source". - For Environment injectors the source is the source of the injector; `injector.source`. - For Element injectors the name is the DOM Element that created the injector. - For the Null Injector this is the string `"Null Injector"`.
b8ca5f6
to
8a70489
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This PR was merged into the repository by commit a54713c. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This API allows for inspection of a given injector to determine it's type (Element, Environment, Null) as well as it's "source". - For Environment injectors the source is the source of the injector; `injector.source`. - For Element injectors the name is the DOM Element that created the injector. - For the Null Injector this is the string `"Null Injector"`. PR Close angular#51900
See commit