Interface GraphQLOperationRequest
public interface GraphQLOperationRequest
The contract for GraphQL request
-
Method Details
-
getOperationType
GraphQLOperation getOperationType()Type of GraphQL operation. Can be one ofGraphQLOperation- Returns:
- type of GraphQL operation
-
getOperationName
String getOperationName()Name of GraphQL operation.- Returns:
- name of GraphQL operation
-
getAlias
String getAlias()Alias of GraphQL operation.- Returns:
- alias of GraphQL operation
-
getInput
Input for for GraphQL operation. Where: - key is input field name - value is input field value- Returns:
- input data for GraphQL operation
-
getUseObjectMapperForInputSerialization
Fields that require serialization usingObjectMapper.writeValueAsString(Object)Values should be defined here in format: GraphqlObjectName.fieldName or GraphqlTypeName
If just type is specified, then all fields of this type will be serialized using ObjectMapper.
E.g.:
Person.createdDateTimeZonedDateTime
- Returns:
- Set of types and fields that should be serialized using
ObjectMapper.writeValueAsString(Object)
-