Log in
Model

Server

Magento\GraphQlServer\Model\Server

What it does

This class serves as the main GraphQL server executor in Magento 2.

Developers use this class to process GraphQL queries by parsing the query string, generating the schema, and executing the query with provided variables.

It acts as the central orchestrator for handling GraphQL requests and returning formatted responses.

Public Methods

  • execute()