Open kokeroulis opened 5 years ago
@kokeroulis I having similar issue. Did you find a workaround for this?
@obsantos I am using a forked version of this project with custom workarounds. the latest branch is this one https://github.com/kokeroulis/dagger-reflect/commits/atsiap/module_with_generic_try_to_add_workaround_new_fixes
The "workarounds" that are included there might not work for every case, this is why they are just left there instead of opening a PR here but the project in which i am using them is quite big and complicated, so they might be useful for you...
I will upload another branch in a few days which will include fixes for the @IntoMap
.. In the above branch there are cases in which the @IntoMap
doesn't work...
What about a PR only with this commit . It could make any sense?
It would be great to have this
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.Full Example here https://github.com/kokeroulis/dagger-reflect/commit/adbd4ab65ffd52847c68c5967d82f6454ba25090
stacktrace
Part of the code which reproduces this issue