Open alexpeattie opened 5 years ago
Actually, it looks like a race condition where the schema is built before the first node is added.
Running into the same issue.
Any solutions available for this?
tx.
Hi everyone, sorry about the issue. I found Gatsby's GraphQL integration is a bit flaky when I made the plugin but it was difficult to make it more robust.
It'll take a deep dive to fix but I don't have availability right now unfortunately. Will update you if I find the time.
would love a solution for this!
I seem to get an
Unknown field 'templated' on type 'Query'
error when trying to run thedemo/
site on the recent versions of Gatsby (e.g. 2.3.31). I don't get the same issue when locking Gatsby's version to 2.0.29.Possible causes
I had a bit of a play around and it seems like
setFieldsOnGraphQLNodeType
is never being called with theTemplated
type, i.e. this conditional is always false. I'm not sure why though? It wonder if it could be related to the changes introduced by the new schema customization API?https://www.gatsbyjs.org/blog/2019-03-04-new-schema-customization/ https://www.gatsbyjs.org/blog/2019-03-18-releasing-new-schema-customization/ https://github.com/gatsbyjs/gatsby/issues/12272
Steps to reproduce
Result: