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-transformer-remark] Recursively add _PARENT to all sub-objects in frontmatter #2466

Conversation

Seavenly
Copy link
Contributor

This is a fix in reference to #2286 where the _PARENT property is not created on nested sub-objects which causes GraphQL to throw an error when looking for references to nested File nodes.

@KyleAMathews
Copy link
Contributor

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit b1bf0ae

https://deploy-preview-2466--gatsbygram.netlify.com

@KyleAMathews KyleAMathews merged commit 35a6399 into gatsbyjs:master Oct 15, 2017
@KyleAMathews
Copy link
Contributor

Ah perfect! I realized this was needed after people stopped complaining about one level down in frontmatter not working but that two plus wasn't working :-)

Thanks for the fix!

@Seavenly Seavenly deleted the topics/2286-recursive-parent-to-subobject branch October 16, 2017 00:18
@jlengstorf
Copy link
Contributor

Hiya @Seavenly! 👋

This is definitely late, but on behalf of the entire Gatsby community, I wanted to say thank you for being here.

Gatsby is built by awesome people like you. Let us say “thanks” in two ways:

  1. We’d like to send you some Gatsby swag. As a token of our appreciation, you can go to the Gatsby Swag Store and log in with your GitHub account to get a coupon code good for one free piece of swag. (We’ve got t-shirts and hats, plus some socks that are really razzing our berries right now.)
  2. If you’re not already part of it, we just invited you to join the Gatsby organization on GitHub. This will add you to our team of maintainers. You’ll receive an email shortly asking you to confirm. By joining the team, you’ll be able to label issues, review pull requests, and merge approved pull requests.

If you have questions, please don’t hesitate to reach out to us: tweet at @gatsbyjs and we’ll come a-runnin’.

Thanks again! 💪💜

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