Closed juliendangers closed 6 years ago
Thanks again will have a look tonight, I think it might cross over partly with the other ticket and the fact that kotlin list pair are covariant
Looks like it work with the fix for 488
just pushed 3.15.8 to maven central should be available in the next 30 minutes. I believed it fixes all the issue - though you might want to check that the mapping is right -.
It works fine, and fixes both issues ! Thank you
Relates to #488
I'm trying to map some resultsets to different structures using Kotlin Pair and Triple
Pair<A, B>
works finePair<A, List<B>>
failsAtributes of B are mapped into a List, so rows
generate 2 elements Pair<A[id=1, name=test], List{233, ok}> Pair<A[id=1, name=test], List{235, azerty}>
You can use the same example project on kotlinPair branch https://github.com/juliendangers/jooq-simpleflatmapper-issues/tree/kotlinPair
the 3rd endpoint which works fine with JooL Tuple2, fails with Kotlin Pair