Skip to content
masterclass Buddy

GraphQL · Function

lexicographicSortSchema

A GraphQL schema describes the data and operations an API exposes. It uses named types and type wrappers to define fields, relationships, accepted inputs, and nullability.

Last updated

Syntax

type TypeName {
  fieldName: ReturnType
}

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Scalar types
  • Object types
  • Interfaces
  • Union types
  • Enum types
  • Input Object types
  • Lists and Non-Null
  • Arguments

Source: Schemas and Types | GraphQL. Checked 2026-11-03.