Plugins

Plugins play a critical role in distributing reusable functionality across your schema. They can apply to just about everything loaded into the schema, including types, fields, queries, mutations, and even specifically to model types and their fields and operations.

Let's dive in!

What are plugins?
An overview of how plugins work with the GraphQL schema
Writing a simple plugin
In this tutorial, we add a simple plugin for string fields
Writing a complex plugin
In this tutorial, we'll create a plugin that affects models, queries, and input types
You are viewing docs for a pre-release version of silverstripe/graphql (4.x). Help us improve it by joining #graphql on the Community Slack, and report any issues at github.com/silverstripe/silverstripe-graphql. Docs for the current stable version (3.x) can be found here