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

warn Deprecation warning: @nodeInterface extension is deprecated #30159

Closed
shameer-rahman opened this issue Mar 10, 2021 · 2 comments
Closed
Labels
topic: source-contentful Related to Gatsby's integration with Contentful type: bug An issue or pull request relating to a bug in Gatsby

Comments

@shameer-rahman
Copy link

I'm trying to migrate to gatsby v3, I'm getting the following warning when run gatsby develop

warn Deprecation warning: @nodeInterface extension is deprecated and will be removed in Gatsby v4. Use interface inheritance instead.
To upgrade replace the old format:
interface ContentfulEntry @nodeInterface
with the new one (in createTypes action of schema customization API):
interface ContentfulEntry implements Node
Read more about schema customization here:
https://www.gatsbyjs.com/docs/reference/graphql-data-layer/schema-customization/

the warning seems to be related to gatsby-source-contentful.

@shameer-rahman shameer-rahman added the type: bug An issue or pull request relating to a bug in Gatsby label Mar 10, 2021
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Mar 10, 2021
@pieh
Copy link
Contributor

pieh commented Mar 10, 2021

Hey @shameer-rahman - seems like #29675 is looking to solve deprecations just wasn't merged and published yet

@pieh pieh added topic: source-contentful Related to Gatsby's integration with Contentful v3migration and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Mar 10, 2021
@vladar
Copy link
Contributor

vladar commented Mar 15, 2021

I think this is fixed and published now in [email protected]

@vladar vladar closed this as completed Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: source-contentful Related to Gatsby's integration with Contentful type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

3 participants