quarkiverse / quarkus-jdbi

Jdbi provides convenient, idiomatic access to relational data in Java
https://jdbi.org/
Apache License 2.0
13 stars 4 forks source link

Using RegisterConstructorMappers throws an IllegalArgumentException "Not a class" #83

Open diversit opened 10 months ago

diversit commented 10 months ago

When using @RegisterConstructorMappers annotation in a Quarkus application, running the application fails with error "Not a class".

The exception is thrown by JdbiAnnotationsQuarkusProcessor.findRegistrations and is due to the ai.value().asClass() failing since the RegisterConstructorMappers value is not a class.