-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Dagger/DuplicateBindings] if component's dependencies extends two or more interfaces with same method #1612
Comments
What is the use case of this? |
When interfaces For example, we are using a hierarchy of
|
ping? |
same problem, Is there a solution to that? |
Going to work on fixing this, though FWIW this is still going to be somewhat fragile for you since it depends on naming of the methods. So if those two interfaces that presumably live apart name the getters differently, things will break and there won't really be a good answer to fixing it besides making the names match or factoring out shared deps into a single interface. |
…o interfaces with the same method. Fixes #1612. RELNOTES=Fixed #1612 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=294775232
…o interfaces with the same method. Fixes #1612. RELNOTES=Fixed #1612 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=294775232
Error:
Looks like this issue is related to #472
Is it the intended behavior? At first glance, it looks like dagger shouldn't treat methods inherited from different interfaces as duplicate bindings if they have the same signature and qualifiers.
The text was updated successfully, but these errors were encountered: