Skip to content
masterclass Buddy

GraphQL · Function

buildASTSchema

buildASTSchema builds a GraphQL schema from a parsed schema definition document. The schema describes the data and operations that clients can query.

Last updated

Syntax

buildASTSchema(ast)

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

Subscribe
  • GraphQL type system
  • schema
  • named type definitions
  • Queries
  • Introspection

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