You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type Query {
pairs: [Pair!]!
}
query UniswapPairTop100Query {
pairs {
id
}
}
type Pair {
id: ID!
}
And the code
(run the classe in test folder)
val client = (URL(apiUrl))
runBlocking {
val pairsTop100 = uniswapClient.pairsTop100()
println(pairsTop100)
}
And the result
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Strange Map type java.util.Map: cannot determine type parameters
at [Source: (String)"{"errors":[{"locations":[{"line":1,"column":1}],"message":"Unexpected `type[Name]`\nExpected `{`, `query`, `mutation`, `subscription` or `fragment`"}]}"; line: 1, column: 1]
at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:62)
at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.buildBeanDeserializer(BeanDeserializerFactory.java:227)
at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.createBeanDeserializer(BeanDeserializerFactory.java:143)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:414)
The text was updated successfully, but these errors were encountered:
Hello
Library Version
Kotlin 1.4.0
Quarkus 1.8.1.Final
graphql-kotlin 4.0.0-alpha.4
Describe the bug
There is a bug while deserialize response with Jackson
To Reproduce
There an exemple in the repo https://github.com/mmaryo/test-graphql-kotlin
This is a simple Graphql
And the code
(run the classe in test folder)
And the result
The text was updated successfully, but these errors were encountered: