Hi, i tried to use the field builder but the response throw this error:
The request content was malformed: Unexpected character '\u000a' at input index 18 (line 1 position 19), expected "': {"query": "query {
And here is the code on the class method
okGraphql
.query(newField()
.field(newField("allPosts")
.field("title")
.field("description")
)
)
.enqueue(responseString -> {
text1.setText(responseString);
}, error -> {
text1.setText(error.getLocalizedMessage());
});
How can i write the query with fields builders?