Closed Fabb111 closed 3 years ago
Hi, I confirm that I can reproduce the issue. It's related to how MutinyUniResultProducer
determines which exact element type the returned Uni
should have.
Unfortunately the fix would involve removing the Producer + ServiceLoader mechanism and switch to proper compile-time code generation using the existing cassandra-quarkus-mapper-processor module. I will try to allocate some time for it soon.
Hello, I am using the newest cassandra-quarkus-client (1.1.0) in combination with resteasy-reactive and kotlin.
I have the following method in my DAO interface:
which throws
The User model for reference:
The same happens with
BUT it works when using one of the official Java driver examples (https://docs.datastax.com/en/developer/java-driver/latest/manual/mapper/daos/insert/).
So not using Mutiny "fixes" the problem. Which would effectively destroy the reactive approach in the whole application.
┆Issue is synchronized with this Jira Task by Unito