Display objects from component dependency differently
tir38 opened this issue · 3 comments
Part of our overall object graph looks like this:
Some of these objects in the graph are coming from a component dependency:
@Component(
modules = {
MediaModule.class
},
dependencies = {
SomeOtherComponent.class
}
)
public interface MediaComponent {...}
You can probably infer which ones are coming from SomeOtherComponent
based on package name. It would be nice if these were either color coded differently than those supplied by MediaModule
, or maybe even put them in another box inside "object graph".
Agreed, although package name might not be a universal solution for all projects. I'll check if there is something in the Dagger SPI to differentiate dependencies.
I just meant in my case the package name would show you what I'm talking about. I don't think relying on package name to infer component is the right programmatic solution. =)
This was blocked by google/dagger#3483. Now that is implemented in Dagger, I will try to display component dependencies differently.