dagger-reflect
dagger-reflect copied to clipboard
A reflection-based implementation of the Dagger dependency injection library for fast IDE builds.
Could we get one last release? I want the MembersInjector changes that were committed in September 11, 2020 but are not included in the 0.3.0 release.
I have AppComponent interface with some default methods inside, because I need to pass deps inside another component: ``` interface AppComponent { default ProfileComponent createProfileComponent() { return DaggerProfileComponent.builder() .profileDependencies(this) .profileDocumentDependencies(this)...
If I try to provide an object using the following code; Dagger works, but Reflect doesn't: ``` @Module interface MyModule { companion object { @Provides fun providesString(): String = "Hello"...
By default, dagger-compiler generates a default `Builder` class. With setup such as this: ```kotlin interface Host { fun myDependency(): MyDependency } @Component(dependencies = [Host::class]) interface MyFeatureComponent { fun feature(): MyFeature...
Currently, dagger-reflect doesn't work with injectors interfaces relying on generics, such as: ```kotlin interface Injector { fun inject(instance: T) } @Component interface MainActivityComponent : Injector ``` This PR would fix...
Currently `dagger-reflect` doesn't work with the new AssistedInject feature.
I'm trying to use the library in an application that uses dagger to create `Worker`'s for `WorkManager`(you can find many articles about it ). Here's the code and a test...
What's the plan?
When we have a module with a generic type then dagger-reflect fails to resolve this dependency. For example given that we have the following module ``` @Module public abstract class...