a

    Ahmed Ibrahim

    2 years ago
    Has anyone figured out a solution for the
    @JvmSuppressWildCard
    problem when injecting generic classes through Dagger? It is becoming too ugly for me 😞
    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>
    Javier

    Javier

    2 years ago
    Dagger team is working on it
    a

    Ahmed Ibrahim

    2 years ago
    That's good to hear! thanks for the update