Plugin Error Happens With GraphCms Project that Uses Only One Locale
elliot-alexandre opened this issue · comments
Elliot commented
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
Jonathan Steele commented
@elliotpellerin Thanks for reporting! There was a change made to the API just this week which has affected this.
I'll fix this today.
github-actions commented
🎉 This issue has been resolved in version 2.0.0-next.9 🎉
The release is available on:
Your semantic-release bot 📦🚀
Phil Léger commented
Thanks!
Elliot commented
Thanks!