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

Visualize an injector hierarchy #878

@tytskyi

Description

@tytskyi

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions