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

refactor(gatsby): Move query/page-query-runner to query/index #13375

Merged
merged 4 commits into from
Apr 17, 2019

Conversation

Moocar
Copy link
Contributor

@Moocar Moocar commented Apr 15, 2019

Description

In #13064, I mentioned that we should move page-query-runner.js to query/index.js since it is becoming a general interface for running queries, whether static, or page. This PR makes that happen.

Note, I'm not sold on requiring query/index as queryUtil as I have in this PR, but can't think of a better name. Very much open to suggestions.

Related Issues

Copy link
Contributor

@KyleAMathews KyleAMathews left a comment

Choose a reason for hiding this comment

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

nice refactor!

@Moocar Moocar force-pushed the page-query-runner-to-index branch from cff1569 to dfbc209 Compare April 17, 2019 00:38
@Moocar Moocar marked this pull request as ready for review April 17, 2019 00:39
@Moocar Moocar requested review from a team as code owners April 17, 2019 00:39
Copy link
Contributor

@KyleAMathews KyleAMathews left a comment

Choose a reason for hiding this comment

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

👍

@Moocar Moocar merged commit bbb8c36 into gatsbyjs:master Apr 17, 2019
@Moocar Moocar deleted the page-query-runner-to-index branch April 17, 2019 01:19
@Moocar
Copy link
Contributor Author

Moocar commented Apr 17, 2019

Published in gatsby@2.3.24

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.

2 participants