Skip to main content

Module graphql

Module graphql 

Source
Expand description

GraphQL endpoints.

  • POST /graphql - Execute GraphQL queries and mutations
  • GET /graphiql - GraphiQL IDE (requires graphiql feature, on by default)

Note: /playground is intentionally not included. GraphQL Playground was deprecated and merged into GraphiQL 2.0, making them redundant.

Functionsยง

graphiql_handler ๐Ÿ”’
Serves the GraphiQL IDE.
graphql_handler ๐Ÿ”’
Handles GraphQL POST requests.
routes
Registers GraphQL routes on the router.

Type Aliasesยง

Schema ๐Ÿ”’