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(gatsby): Remove unnecessary checks #17289

Merged
merged 2 commits into from
Sep 1, 2019

Conversation

stefanprobst
Copy link
Contributor

Before #16091, a resolver could either get the raw node, or the node with some fields already resolved, if those fields were part of a filter. This is no longer the case, so we can remove those extra checks.

@stefanprobst stefanprobst requested a review from a team as a code owner September 1, 2019 07:18
Copy link
Contributor

@sidharthachatterjee sidharthachatterjee left a comment

Choose a reason for hiding this comment

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

Makes sense! 👍

@sidharthachatterjee sidharthachatterjee added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Sep 1, 2019
@gatsbybot gatsbybot merged commit a88cb2c into gatsbyjs:master Sep 1, 2019
waltercruz pushed a commit to waltercruz/gatsby that referenced this pull request Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes
3 participants