Annotation Interface PartialRequest
This annotation marks the method of an interface, as being a partial GraphQL request. See the Project Wiki request
page for more information
- Author:
- etienne-sf
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe name of the request, as defined in the GraphQL schema.The kind of request that this method will execute.
-
Element Details
-
request
String requestThe GraphQL request. It can be either a Partial Request or a Full Request.
-
-
-
requestType
RequestType requestTypeThe kind of request that this method will execute. One of QUERY, MUTATION, SUBSCRIPTION. This is not mandatory, and the default value is QUERY- Default:
- query
-
requestName
String requestNameThe name of the request, as defined in the GraphQL schema. It's the field name in the Query, Mutation or Subscription type.
This name must be exactly the same as the one defined in the GraphQL schema. For instance, it's case sensitive.
This field is optional: if no requestName value is given, then the method name must match exactly the request (query/mutation/subscription) field name that is defined in the GraphQL schema.- Default:
- ""
-