Annotation Type PartialRequest
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface PartialRequest
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringrequestThe GraphQL request.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringrequestNameThe name of the request, as defined in the GraphQL schema.RequestTyperequestTypeThe kind of request that this method will execute.
-
-
-
-
requestType
RequestType requestType
The kind of request that this method will execute. One of QUERY, MUTATION, SUBSCRIPTION. This is not mandatory, and the default value is QUERY- Default:
- com.graphql_java_generator.annotation.RequestType.query
-
-
-
requestName
java.lang.String requestName
The 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:
- ""
-
-