Version 5 supported

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.

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