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-transformer-remark): remove unused _PARENT field from frontmatter #10919

Merged
merged 1 commit into from
Jan 8, 2019

Conversation

stefanprobst
Copy link
Contributor

gatsby-transformer-remark puts a _PARENT field on frontmatter, that does not seem to be used. Maybe from a time before node-tracking?

@pieh
Copy link
Contributor

pieh commented Jan 8, 2019

Ah, that's dead code that ~1 year ago was needed to resolve paths to files in frontmatter to File nodes.

Nice catch.

@pieh pieh changed the title Remove _PARENT field from frontmatter fix(gatsby-transformer-remark): remove unused _PARENT field from frontmatter Jan 8, 2019
Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

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

🙏 Thanks!

@pieh pieh merged commit e831b42 into gatsbyjs:master Jan 8, 2019
gpetrioli pushed a commit to gpetrioli/gatsby that referenced this pull request Jan 22, 2019
@stefanprobst stefanprobst deleted the remove-frontmatter-parent branch July 8, 2019 15:04
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

Successfully merging this pull request may close these issues.

None yet

2 participants