Kamel-Media / Kamel

Kotlin asynchronous media loading and caching library for Compose.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support multiple mappers per input class type

luca992 opened this issue · comments

In KamelConfig it would need to support multiple mappers per KClass

public val mappers: Map<KClass<*>, Mapper<Any, Any>> -> public val mappers: Map<KClass<*>, List<Mapper<Any, Any>>>

and would need to be handled here:

https://github.com/Kamel-Media/Kamel/blob/c83ef4ae6ad05bd58a00a51352bda7068057cd02[…]l-core/src/commonMain/kotlin/io/kamel/core/utils/ConfigUtils.kt