Annotation Type Var
Binds a
GraphQLClient method parameter to a GraphQL operation
variable. The value() is the variable name as it appears (without
the $) in the operation document's variable definitions. The
argument is serialised into the request's variables object:
strings/numbers/booleans/lists/maps pass through directly, enums
serialise as their name(), and any other object is treated as an
@Mapped business object. A null argument omits the variable.-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe GraphQL variable name (without the leading$).
-