Open robp94 opened 1 month ago
We can look at why this happens (@jmartisk) but also know that the method with the non-list will never be called by the graphql framework if there exist a list one, so effectively you can remove the @Source
annotation (or the whole method if no-one else is using it). This still support single queries, but the list (with one item) method will be called.
Having a
@Source
Method with both a List and non List Variant fails with Kotlin, while the same works in java. Kotlin worked until quarkus 3.8.5. Removing one of the methods solves the problem.Example:
Exception on build:
code-with-quarkus-source-list-kotlin.zip