-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module with generic fails to find the target #135
Labels
bug
Something isn't working
Comments
A bunch of the Dagger functional tests cover this and are currently muted. Hope to get to it eventually, but it's probably non-trivial. |
In my experience, this is the only major blocker for using dagger-reflect in non-trivial projects. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
We will receive the following exception
We can reproduce this by running
./gradlew :integration-tests:android:testReflectDebugUnitTest
For the above scenario I have created a sample project which is reproducing this issue, you can find the full source code here, the branch name is
atsiap/module_with_generic
.Dagger's original code generation works properly and it can be verified by running
./gradlew :integration-tests:android:testCodegenDebugUnitTest
.The text was updated successfully, but these errors were encountered: