dagger-reflect
dagger-reflect copied to clipboard
A reflection-based implementation of the Dagger dependency injection library for fast IDE builds.
As an exercise purpose, I'm trying to add Dagger Reflect to [Plaid](https://github.com/android/plaid) project. After all necessary changes to make project compile I got runtime crash. The issue is that [**HomeActivity**](https://github.com/android/plaid/blob/master/app/src/main/java/io/plaidapp/ui/HomeActivity.kt)...
* [ ] Not requiring module instance for provision methods in an object. * [ ] Automatically traversing into module companion objects to look for provision methods (built on above...
We've been wanting to switch to full reflection for a while, but are worried about not being able to obfuscate the class names of our components. The concern here is...
* Have your main application class derive from `dagger.android.DaggerApplication` * Implement `applicationInjector()` to return the `AndroidInjector` * Partial reflection setup * Dagger: 2.28.3, Delect 0.3.0 (Dagger-Reflect-latest) ``` java.lang.RuntimeException: Unable to...
Parent's bindings are not present in the child subcomponent when using multibindings. This is clear in the test `ModuleWithSubcomponentsTest`, currently excluded. In order to fix it, we could check for...
dagger-reflect: 0.3.0 code: ``` fun main() { dagger.Dagger .create(MyComponent::class.java) // DaggerMyComponent.create() .getS() } abstract class MyClass interface GenericComponent { fun getS(): S } class MyClassImpl @javax.inject.Inject constructor(): MyClass() @dagger.Component interface...
Creates `IndirectionCycle` with regular provided dependencies,`BindsIndirectionCycle` for bound dependencies indirection, and `MultibindProviderMapIndirectionCycle` for the scenario pinpointed in issue #175 and resolved by #198.
This commit fixes #174 credits to @kokeroulis
If you have a nested `ContributesAndroidInjector` then it doesn't work properly. Dagger complains about a missing injector factory. Dagger with code generation works fine, only dagger reflect is crashing. ```kotlin...
**dagger-compiler**: 2.27 **dagger-reflect**: 0.2.0 **dagger-compiler** allows circular module dependencies(which is wrong, should be an error), while **dagger-reflect** hangs forever while trying to build Component with such modules. Reproduce: ``` package...