smallrye-graphql
smallrye-graphql copied to clipboard
Nested collections do not work in Kotlin (server)
Code
@Query
fun foo(bar: List<List<Int?>?>): Int {
// ...
}
Generates this given schema:
"Query root"
type Query {
foo(bar: [Int]!): Int!
}
but it should be:
"Query root"
type Query {
foo(bar: [[Int]]!): Int!
}
The code works in Java.