Version 4 supported


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.

You are viewing docs for silverstripe/graphql 4.x. If you are using 3.x, documentation can be found in the github repository
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