-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
gatsby-source-contentful/GraphQL throws error when using emojis in Contentful content type name #35824
Comments
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
I kind of think this should not be closed. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Please keep this issue open so it can get addressed. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Please keep this issue open so it can get addressed |
To quote the bot, it's spooky quit from the gatsby team. Why is it automatically closed every two weeks? |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
I guess I'll make one last comment to keep this issue alive. But since there's no feedback whatsoever from the dev team I won't put any more energy into this. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Try setting the |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Thanks a lot @cachrisman for the hint. We tried it out and it worked! |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Gatsby community! 💪💜 |
Hi Folks, I just install the Gatsby, with the Contentfull and TailwindCSS, and I'm having this issue. Missing onError handler for invocation 'building-schema', error was 'Names must only contain [_a-zA-Z0-9] but "Contentful💎QuoteComponent" does |
Preliminary Checks
Description
I'm building my first Contentful project. In the Contentful demo setups they are using emojis in the content type names. I have also got this recommendation from a contentful representative. And it seems like a good idea to keep your content types organized:
The app should be run on GatsbyJS. So I initiated a
npx gatsby new gatsby-starter-contentful-homepage https://github.com/gatsbyjs/gatsby-starter-contentful-homepage
I have also setup the
gatsby-config.js
for gatsby-source-contentful like so:But when I run
gatsby develop
I get this GraphQL error. It seems like emojis can't be used in Contentful content type names together with Gatsby.Is this a bug in gatsby-source-contentful? It seems like the plugin is not sanitizing the content type names before adding them to the GraphQL schema.
Reproduction Link
https://github.com/samuel99/contentful-bug-report
Steps to Reproduce
{
resolve:
gatsby-source-contentful
,options: {
spaceId: myspaceid,
accessToken: myContentDeliveryApiToken,
},
}
gatsby develop
Expected Result
The plugin should remove all illegal characters before passing the content type names to GraphQL.
Actual Result
Gatsby develop
fail with the message:Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: