Skip to content
masterclass Buddy

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.

Subscribe
  • fields
  • variables
  • fragments
  • mutations
  • subscriptions
  • schemas and types

Source: Queries. Checked 2026-11-03.