What
If there are subcomponents in your graph as such
@MergeComponent(AppScope::class)
interface AppScope {
fun mySubcomponent(): MySubcomponent
}
@MergeSubcomponent(SubcomponentScope::class)
interface MySubcomponent
Moving a dependency scope from one to the other via ContributesBinding will end up with error: [Dagger/DuplicateBindings]
interface MyClass
// Changing from `SubcomponentScope` to `AppScope` will throw an error
@ContributesBinding(SubcomponentScope::class)
class MyClassImpl : MyClass