java.lang.Object
com.graphql_java_generator.client.response.JsonResponseWrapper
public class JsonResponseWrapper
extends java.lang.Object
- Author:
- etienne-sf
-
Field Summary
Fields
| Modifier and Type |
Field |
Description |
com.fasterxml.jackson.databind.JsonNode |
data |
This contains the data coming from the GraphQL part.
|
java.util.List<Error> |
errors |
|
-
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
public com.fasterxml.jackson.databind.JsonNode data
This contains the data coming from the GraphQL part. The issue here is that it contains data that depends on the
GraphQL schema. So we just collect the parsed Json, which will be mapped later to the relevant Java POJO
-
public java.util.List<Error> errors
-
Constructor Details
-
public JsonResponseWrapper()