Missing spread operator in AsyncCqlOperationsExtensions.queryForObject(…)
#1434
Labels
type: bug
A general bug
Milestone
Hi. In commit @mp911de use spread operator for
AsyncCqlOperations.queryForObject(cql: String, vararg args: Any, function: (Row, Int) -> T): ListenableFuture<T?>
andAsyncCqlOperations.query(cql: String, vararg args: Any, function: (Row, Int) -> T): ListenableFuture<List<T>>
extensions inAsyncCqlOperationsExtensions.kt
. But in extensioninline fun <reified T : Any> AsyncCqlOperations.queryForObject(cql: String, vararg args: Any): CompletableFuture<T?>
spread operator doesn't used. I just faced this problem then migrate from JavaqueryForObject
with Class parameter to Kotlin extensionqueryForObject
with reified type.Can you help me? May be i do something wrong?
I use Kotlin 1.8.20, jvm target 17 and spring-data-cassandra 4.1.3
The text was updated successfully, but these errors were encountered: