Closed ThijmenDeValk closed 2 years ago
Well, that was quick. Gatsby-graphql-toolkit v2.0.3 fixes this issue. So now all that's needed to use this with Gatsby 5 is the --legacy-peer-deps
flag until official support is added to this repo (I'll make a pull request for that soon).
Description
When using this plugin with Gatsby 5, you instantly get an error stating
visitFn.call
is not a function. The stack trace seems to suggest this is a pretty low level issue with gatsby-graphql-source-toolkit. My guess is it's fixed by https://github.com/gatsbyjs/gatsby-graphql-toolkit/pull/48, but that's not yet merged by Gatsby.Stack trace
Steps to reproduce
npm run develop
Example repo
https://github.com/ThijmenDeValk/gatsby-source-craft-error-proof
Additional info