Skip to content

Generate dependency graph for all objects in application container #80

@davydovanton

Description

@davydovanton

I created a simple proof of concept for generation graph of all dependencies in container: link to gist file.

For this I used "custom" auto_inject register for creating included_keys class method with all dependencies.

After that I detect all classes with this method and generate "AST" with associations between classes.

With this changes we can detect unused dependencies in container, build GUI graph for easily understand system (like UML diagrams) and ect.

We can start build something like this for dry-system, WDYT? I can create a simple plan with small steps for this feature if you want.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions