Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple mappers per input class type #70

Closed
luca992 opened this issue Nov 12, 2023 · 0 comments · Fixed by #72
Closed

Support multiple mappers per input class type #70

luca992 opened this issue Nov 12, 2023 · 0 comments · Fixed by #72

Comments

@luca992
Copy link
Member

luca992 commented Nov 12, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant