Reference > API > GraphQL
GraphQL
GraphQL schema factory and response helpers
- How to use the builder and factory APIs?
- How to import and use each exported item?
Overview
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
GraphQLSchemaFactory
Abstraction — imported from webiny/api/graphql
Interface GraphQLSchemaFactory.Interface:
Define custom GraphQL schema extensions.
Types:
SchemaBuilder — GraphQLSchemaBuilder.Interface:
Types & Classes
ErrorResponse
Class — imported from webiny/api/graphql
GraphQL error response helper.
ListErrorResponse
Class — imported from webiny/api/graphql
GraphQL list error response helper.
ListResponse
Class — imported from webiny/api/graphql
GraphQL list response helper.
NotAuthorizedResponse
Class — imported from webiny/api/graphql
GraphQL not-authorized response helper.
NotFoundResponse
Class — imported from webiny/api/graphql
GraphQL not-found response helper.
Response
Class — imported from webiny/api/graphql
GraphQL response helper.