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

Expose debug info for batarangle #7617

Closed
3 tasks
tbosch opened this issue Mar 15, 2016 · 2 comments
Closed
3 tasks

Expose debug info for batarangle #7617

tbosch opened this issue Mar 15, 2016 · 2 comments
Labels
area: core Issues related to the framework runtime effort1: hours feature Issue that requests a new feature

Comments

@tbosch
Copy link
Contributor

tbosch commented Mar 15, 2016

For tooling, we need to expose more debug information.

  • Expose RouteRegistry:
    • Tools can't just rely on the annotations as applications can register routes during runtime as well.
    • E.g. expose the RouteRegistry token via ng.probe.coreTokens['RouterRegistry'] so it can be read via DebugElement.injector.get(...). Also, add getters to the RouterRegistry to read out the existing rules.
  • Expose declaration parent element
    • needed as the parent element in the DOM might be different because of content projection
    • expose DebugElement.declarationParent which should return another DebugElement.
  • Expose providers used to create the platform and application injector
    • needed to visualize the injector hierarchy.
@tbosch tbosch added comp: core feature Issue that requests a new feature effort1: hours labels Mar 15, 2016
@tbosch tbosch changed the title Expose RouterRegistry debug info Expose debug info for batarangle Apr 7, 2016
@mhevery mhevery added area: core Issues related to the framework runtime and removed comp: core labels Sep 7, 2016
@vicb
Copy link
Contributor

vicb commented Sep 26, 2016

@tbosch can this one be closed now ?

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: core Issues related to the framework runtime effort1: hours feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

4 participants