GraphQL · Function
makeVar
GraphQL queries read data by naming the fields the client needs. The response follows the query’s shape and can use inputs such as variables and field arguments.
Last updated
Syntax
query OperationName($variable: Type) { field(argument: $variable) { selectedField } }In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
fieldsvariablesfragmentsmutationssubscriptionsschemas and types