@PublicApi public interface ExecutionResult
Modifier and Type | Method and Description |
---|---|
<T> T |
getData() |
List<GraphQLError> |
getErrors() |
Map<Object,Object> |
getExtensions() |
Map<String,Object> |
toSpecification()
The graphql specification says that result of a call should be a map that follows certain rules on what items
should be present.
|
List<GraphQLError> getErrors()
<T> T getData()
T
- allows type coercionMap<Object,Object> getExtensions()
Map<String,Object> toSpecification()
ExecutionResult
to spec, so this method
is provided to produce a map that strictly follows the specification.
See : http://facebook.github.io/graphql/#sec-Response-FormatCopyright © 2019. All rights reserved.