Closed vRallev closed 2 months ago
@ContributesBinding doesn't support multibindings. The annotation is already repeatable and whether a multibinding is used should be parameter, e.g.
@ContributesBinding
@Inject @ContributesBinding(boundType = Base::class) @ContributesBinding(boundType = Base2::class, multibinding = true) class Impl : Base, Base2
This should generate functions like this:
@Provides fun provideBase(impl: Impl): Base = impl @IntoSet @Provides fun provideBase2(impl: Impl): Base = impl
@ContributesBinding
doesn't support multibindings. The annotation is already repeatable and whether a multibinding is used should be parameter, e.g.This should generate functions like this: