Annotation Type Query
Declares a
GraphQLClient method as a GraphQL query. The
value() is the operation document sent verbatim to the server;
the method's Var-annotated parameters supply its $variables.
The method ends with an OnComplete<GraphQLResponse<T>> callback
whose T is the generated @Mapped response-data type.-
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.query HeroName($episode: Episode) { hero(episode: $episode) { name } }. -
operationName
-