Has anyone figured out a solution for the `@JvmSup...
# dagger
a
Has anyone figured out a solution for the
@JvmSuppressWildCard
problem when injecting generic classes through Dagger? It is becoming too ugly for me 😞
Copy code
internal class SalesSectionReader @Inject constructor(
    private val sectionsLocalDataSource: SectionsDataSource,
    private val saleEntityToSaleSectionSaleMapper: Mapper<@JvmSuppressWildcards SaleEntity, @JvmSuppressWildcards SaleSection.Sale>,
    private val blogEntityToBlogSectionMapper: Mapper<@JvmSuppressWildcards BlogEntity, @JvmSuppressWildcards SaleSection.Blog>,
    private val tagEntityToSaleSectionTagMapper: Mapper<@JvmSuppressWildcards TagEntity, @JvmSuppressWildcards SaleSection.Tag>
) : StoreListReader<AllSectionsKey, SaleSection>
j
Dagger team is working on it
a
That's good to hear! thanks for the update