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

chore: use null not "SOURCE" as parent of top level nodes #10920

Merged
merged 1 commit into from
Jan 8, 2019

Conversation

stefanprobst
Copy link
Contributor

Currently top nodes are represented with either parent: "SOURCE" or parent: "___SOURCE___", which is not a valid node id. This PR proposes to just use null instead.

@stefanprobst stefanprobst requested a review from a team as a code owner January 8, 2019 16:41
@stefanprobst stefanprobst requested a review from a team January 8, 2019 16:41
@KyleAMathews
Copy link
Contributor

Ah nice! You're finding all my old design decisions where things changed but I didn't update all the code 😅 Thanks!

@pieh pieh changed the title Use null not SOURCE to represent top nodes chore: use null not "SOURCE" as parent of top level nodes 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 @stefanprobst 🙏

@pieh pieh merged commit ac2a54a 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-invalid-parents branch July 8, 2019 15:03
mwfrost pushed a commit to mwfrost/gatsby that referenced this pull request Apr 20, 2023
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.

3 participants