I already have a graphql API that can export a graphql schema. I want to use that as a gatsby source so that I can specify graphql queries (in the graphql type system that I have in my graphql schema) for each component and have that fetched during gatsby build.
@KyleAMathews This is with ref. to our conversation on twitter.
Hi @KyleAMathews. Are there any updates on this? Is anyone working on this for v2?
@jaisontj still gathering requirements/user stories/speccing out design. Could you describe how you'd like to use this feature?
Any updates? I'm trying to use with craftCMS/craftQL/graphQL as mentioned here https://github.com/markhuot/craftql/issues/41
We are also in the same position, trying to use Gatsby with CraftCMS + CraftQL that provides an external API
No news on this yet, but it is a popular feature request and is something we want to work on soon.
I managed to build a plug-in to fetch data from craftCMS, will add to GitHub soon. How do I add to gatsby plugins page?
Thanks
You need gatsby and gatsby-plugin as keywords https://www.gatsbyjs.org/docs/plugin-authoring/#what-files-does-gatsby-look-for-in-a-plugin
Thanks, @KyleAMathews ... will do it as soon as I have some free time
also it's working on v1 and v2
@gusnips do you plan on open sourcing your plugin? Its exactly what I am looking for and I would love to be able to use it / contribute.
@Dean177 Check out https://github.com/GraphCMS/gatsby-source-graphcms
@Dean177 https://github.com/gusnips/gatsby-source-craftcms
I just need to test it better, because I was using it in my plugins/ folder until now
feel free to open an issue if you a problem
Edit: I just tested and it is working as expected
@gusnips thanks, will do.
This is RFC for schema stitching. https://github.com/gatsbyjs/rfcs/pull/6
And it's out!