These are chat archives for graphql-java/graphql-java

13th
Sep 2018
juanlorenzo
@juanlorenzo
Sep 13 16:23
hi guys! I'm trying to use variables, but when I post the query, I always get
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
at [Source: java.io.PushbackInputStream@8c17aa0; line: 1, column: 171] (through reference chain: java.util.LinkedHashMap["variables"])
Bojan Tomić
@kaqqao
Sep 13 16:24
What library are you using? Thaht's not coming from graphql-java itself
juanlorenzo
@juanlorenzo
Sep 13 16:25
hi Bojan! I'm using graphql-spqr and spring-boot
if I don't use variables, everything works, but if I try to use any variables, that error appears
Bojan Tomić
@kaqqao
Sep 13 16:26
ah, then please use the spqr gitter channel. It gets confusing when different libraries are discussed here
(it will also be me answering you, btw 😊 )
juanlorenzo
@juanlorenzo
Sep 13 16:27
hahah oh, I'm sorry, thank you for the link!