Closed moritzsalla closed 3 years ago
@moritzsalla Can you provide more information here? What's the error? Is there a reproduction I can look at?
Hi ynnoj, sorry for the lack of information. My post is more of a feature request than an error: I noticed that gatsby-source-graphcms appears to lack support for some newer graphCMS fields (e.x. slug). I've switched to using gatsby-source-graphql instead for now.
There's no reason why slug fields shouldn't be supported. They're just a string.
Can you please check that the particular field you're having trouble querying is in the generated query fragment file? You can learn more here.
Closing this, let me know if you're still encountering problems.
Gatsby cannot query slug field and throws an error.