How to parse data and error inside our POJO Class from the GraphQLResponse Object ? #583
Unanswered
kumarsrv007
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to parse the data node from the Graphql Response object. inside code, i am using GraphQLWebClient object to post our request to graphql server as - new GraphQLWebClient,post(request).block();
Above is returning the GraphQLResponse object which is not readable. could you please suggest any way to parse the object to fetch the data and error separately in some POJO classes? ******I want to fetch the entire data part of Graphql response in some POJO Classes irrespective of fields and query. Also tried with the ObjectMapper() method but was able to fetch data.
Am I missing something? is there any way to achieve the data and error section in separate POJO Class. ? Any help will be appreciated?
Beta Was this translation helpful? Give feedback.
All reactions