-
Notifications
You must be signed in to change notification settings - Fork 14
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
Custom type naming conventions (error while running the createPages lifecycle) #42
Comments
Seems nobody has been interested in this issue. I will try to take the discussion about naming convention further. Is there any documentation about how the naming convention should be between Prismic - Prismic GraphQL API - Gatsby (this plugin)? What worked for our project before on On the Prismic side our Custom type API IDs are: page-core, blog-post… Should the naming conventions for Custom type be documented somewhere? After it there can be fixes done based on documentation for the plugin if needed. Thoughts? |
Hi @Jussiles
You you provide a recreation of the issue in the examples and open a PR? If you run into issues creating an example, I recommend using gatsby 2.24.11 |
Just hit this too. My prismic content type was labeled: "blog_post", I then attempted to use a config for my page as:
I also tried types of: "BlogPost", "Blog_Post", "blog_post" and the only type I got to work was "Blog_post". It seems as if there's an issue with handling |
After updating Gatsby from 2.21.9 I started getting this error. Then I updated also gatsby-source-prismic-graphql plugin from 3.6.2 to use this repo and latest tag 3.6.11. Error still exists. Happens on running
gatsby develop
orgatsby build
:This is my
gatsby-config.js
:Issue seems to be with
PageCore
. TypePage
works fine.I found some related issues from old and new repo but didn't find solutions from those.
birkir#200 (comment)
#2
The text was updated successfully, but these errors were encountered: