Kotlin Plugin
class KotlinPlugin(installKotlinMapperFactory: Boolean = true, enableCoroutineSupport: Boolean = false) : JdbiPlugin.Singleton
Installs Kotlin specific functionality.
- Kotlin inference interceptor that handles the {@link KotlinMapper} for registered types
- Kotlin mapper factory that creates implicit mappers for any data class
- Support for using Handles in Coroutines
@property installKotlinMapperFactory If true, install the {@link KotlinMapperFactory}.
@property enableCoroutineSupport If true, enable support for Kotlin Coroutines.
Content copied to clipboard