hygraph / gatsby-source-graphcms

The official Gatsby source plugin for GraphCMS projects

Home Page:https://graphcms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin Error Happens With GraphCms Project that Uses Only One Locale

elliot-alexandre opened this issue · comments

With the last version of the plugin, we encounter the following error.

"gatsby-source-graphcms": "2.0.0-next.8",

"gatsby-source-graphcms" threw an error while running the sourceNodes lifecycle:

Schema customization failed to find remote field FormFieldGroup.locale

  137 |   const config = await createSourcingConfig(gatsbyApi, pluginOptions)
  138 | 
> 139 |   await createSchemaCustomization(config)
      |         ^
  140 | 
  141 |   if (webhookBody && Object.keys(webhookBody).length) {
  142 |     const { operation, data } = webhookBody

File: ../../node_modules/gatsby-source-graphcms/gatsby-node.js:139:9



  Error: Schema customization failed to find remote field FormFieldGroup.locale

Thank You

@elliotpellerin Thanks for reporting! There was a change made to the API just this week which has affected this.

I'll fix this today.

🎉 This issue has been resolved in version 2.0.0-next.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Thanks!

Thanks!