Skip to content
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

gatsby 4 - cannot call createTypes in the sourceNodes API #43

Open
cameronbraid opened this issue Oct 19, 2021 · 1 comment
Open

gatsby 4 - cannot call createTypes in the sourceNodes API #43

cameronbraid opened this issue Oct 19, 2021 · 1 comment

Comments

@cameronbraid
Copy link

Are there plans to support gatsby 4 on the way ?

https://v4.gatsbyjs.com/docs/reference/release-notes/migrating-from-v3-to-v4/#disallow-schema-related-apis-in-sourcenodes

@vladar
Copy link
Contributor

vladar commented Oct 19, 2021

Technically the toolkit just provides you the tools and you use them in gatsby APIs you need. In other words, the toolkit user should take care of calling createSchemaCustomization and sourceNodes in corresponding gatsby APIs.

We should probably update the docs and maybe make it a bit more convenient in the toolkit. But it should be compatible as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants