Dear jOOQ / Kotlin users We already know how cool the jOOQ / Kotlin out of the box experience is, thanks to a lot of great language features, and 1-2 Kotlin specific API enhancements in jOOQ: https://blog.jooq.org/2017/05/18/10-nice-examples-of-writing-sql-in-kotlin-with-jooq/
We're currently thinking of adding additional utilities, similar to the jOOQ-scala modules, where we offer additional, Scala specific API through implicits. In Kotlin, extension functions, or even infix functions, could be quite useful. There's a pending feature request for this: https://github.com/jOOQ/jOOQ/issues/6256 One example I've just noticed today while writing unit tests is the ability of mapping into Kotlin classes more idiomatically, e.g. query.fetchInto(KotlinClass::class) Rather than query.fetchInto(KotlinClass::class.java) This could be achieved very easily via: fun <E: Any, R: Record> ResultQuery<R>.fetchInto(klass: KClass<E>): MutableList<E> { return this.into(klass.java) } What other utilities would you like jOOQ to offer out of the box for an improved jOOQ / Kotlin experience? Cheers, Lukas -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/d798cdfa-9b66-4f0c-81a5-565a9eca8cb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
