Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Visualize an injector hierarchy #878

Open
tytskyi opened this issue Jul 2, 2021 · 1 comment
Open

Visualize an injector hierarchy #878

tytskyi opened this issue Jul 2, 2021 · 1 comment
Labels

Comments

@tytskyi
Copy link

tytskyi commented Jul 2, 2021

I would like to see an injector hierarchy when select a component in the tree: which provider comes from where.

Rationale is: debugging huge angular application which uses lazy modules. When there is an unexpected instance of a provider inside lazy module. Currently is hard to reason about such cases and debugging consists of deleting huge chunks of code until cause is found.

I imagine something like a graph, where nodes showing provider instances of currently selected component. Nodes are connected with paths. Perhaps some color coding to show it's a provider from current or parent "scope".

@tytskyi tytskyi added the feature label Jul 2, 2021
@john8329
Copy link

john8329 commented Dec 8, 2021

Augury had this tool, and it was super useful to debug duplicate services.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants