See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
Community Plugin
View plugin on GitHub



A simple plugin that adds new schema extensions to Gatsby’s GraphQL SDL.

Getting Started

Add this theme to your theme using:

npm install gatsby-theme-schema-extensions


yarn add gatsby-theme-schema-extensions

Next add the theme to your gatsby-config.js.

module.exports = {

You can now use the extensions during your schema custimizations in gatsby-node.js.

Example using a parent node’s body resolver:

exports.createSchemaCustomization = ({ actions }) => {
    createTypes(`type MdxCustom implements Node & Custom {
        id: ID!
        body: String @parent(from:"body")
© 2022 Gatsby, Inc.