-
Notifications
You must be signed in to change notification settings - Fork 70
Exception Cannot deserialize instance of Class
out of START_ARRAY token
#26
Comments
Hi @davidegph, Great question, this is actually something I need to update the docs with as it's a common problem that isn't very clear. Fortunately, there is a simple way to handle this!
Hope this helps! |
Thank you for your help Andrew! I was able to query my graphql schema thanks to your suggestions. |
Hi, I've been trying this example and for some reason it throws a NPE.
When running this, I get this NPE:
All I had to change in order to adapt it from Java to groovy was removing the |
Hi the above solution is not working for me. I am still getting the same issue . I am not able to understand what to send in the arguments if the API does not take any arguments. |
Hi,
I am trying to use Nodes to query my GraphQL server; this is the query,
This is the model,
This is the schema,
dishes(chef_id: String! dish_id: String name: String limit: Int = 100 offset: Int = 0 columnToSort: SortDishColumn = NAME order: OrderBy = DESCENDING): [Dish]!
The query that Nodes generates is,
query { dishes (chef_id:"chef_1", name:"Pizza") { chef_id name description dish_id } }
The query does work when used with graphiql, and it is exactly what I am expecting from it. However, the code throws an exception every time,
Any idea of what I am doing wrong?
Thank you for your help.
The text was updated successfully, but these errors were encountered: