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

fix(gatsby-source-contentful): avoid confusion of Gatsby node and Contentful node count in logs #34830

Merged

Conversation

axe312ger
Copy link
Collaborator

In #34584 we improved logging to separate between new and updated nodes.

For the existing ones, we forgot to divide by locale count. As multiple existing Gatsby nodes reflect one single Contentful node, this should make it more clear how many Contentful nodes the system already knew on a warm build.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Feb 16, 2022
Copy link
Contributor

@TylerBarnes TylerBarnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense since a node in each locale is for the same content, right?

@LekoArts LekoArts added topic: source-contentful Related to Gatsby's integration with Contentful and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Feb 17, 2022
@LekoArts LekoArts changed the title fix(contentful): avoid confusion of Gatsby node and Contentful node count in logs fix(gatsby-source-contentful): avoid confusion of Gatsby node and Contentful node count in logs Feb 17, 2022
@LekoArts LekoArts merged commit ac1d777 into master Feb 17, 2022
@LekoArts LekoArts deleted the fix/contentful-avoid-confusion-with-node-duplication branch February 17, 2022 08:04
@axe312ger
Copy link
Collaborator Author

@TylerBarnes correct!

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants