Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Error Happens With GraphCms Project that Uses Only One Locale #123

Closed
elliot-alexandre opened this issue Oct 6, 2020 · 5 comments · Fixed by #125
Closed

Plugin Error Happens With GraphCms Project that Uses Only One Locale #123

elliot-alexandre opened this issue Oct 6, 2020 · 5 comments · Fixed by #125

Comments

@elliot-alexandre
Copy link

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

@elliot-alexandre
Copy link
Author

cc @phil-lgr

@ynnoj ynnoj added the bug label Oct 7, 2020
@ynnoj
Copy link
Contributor

ynnoj commented Oct 7, 2020

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

I'll fix this today.

@ynnoj ynnoj added this to the 2.0.0 milestone Oct 7, 2020
@ynnoj ynnoj closed this as completed in #125 Oct 7, 2020
@github-actions
Copy link

github-actions bot commented Oct 7, 2020

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

The release is available on:

Your semantic-release bot 📦🚀

@phil-lgr
Copy link

phil-lgr commented Oct 7, 2020

Thanks!

1 similar comment
@elliot-alexandre
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants