Annotation Type Mutation
Declares a
GraphQLClient method as a GraphQL mutation.
Identical in shape to Query -- the value() is the operation
document and Var-annotated parameters supply its $variables --
but sent as a mutation. The method ends with an
OnComplete<GraphQLResponse<T>> callback.-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe operation name to send in the request'soperationNamefield.
-
Element Details
-
value
String valueThe GraphQL operation document, e.g.mutation AddReview($ep: Episode!, $review: ReviewInput!) { createReview(episode: $ep, review: $review) { stars } }. -
operationName
-