WHAT YOU'LL LEARN
  • How to use the builder and factory APIs?
  • How to import and use each exported item?

Overview
anchor

This page documents everything exported from webiny/api/graphql. Import any of the items below directly from this path in your Webiny extensions.

Services

Types & Classes

Services
anchor

GraphQLSchemaFactory
anchor

Abstraction — imported from webiny/api/graphql

Interface GraphQLSchemaFactory.Interface:

Define custom GraphQL schema extensions.

Types:

SchemaBuilderGraphQLSchemaBuilder.Interface:

Types & Classes
anchor

ErrorResponse
anchor

Class — imported from webiny/api/graphql

GraphQL error response helper.

ListErrorResponse
anchor

Class — imported from webiny/api/graphql

GraphQL list error response helper.

ListResponse
anchor

Class — imported from webiny/api/graphql

GraphQL list response helper.

NotAuthorizedResponse
anchor

Class — imported from webiny/api/graphql

GraphQL not-authorized response helper.

NotFoundResponse
anchor

Class — imported from webiny/api/graphql

GraphQL not-found response helper.

Response
anchor

Class — imported from webiny/api/graphql

GraphQL response helper.