-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gatsby): PQR worker can run page queries (#32017)
* run queries in child/schema * split schema into schema & queries, add new test * wip * test static queries * revert changes related to page queries * initial * smaller ts improvements removing unused types, consolidate them, export IQueryJob * convert query/index.js to TS + change pageQueryIds type to Array<IGatsbyPage> * wip * use .cache/worker folder for slices location * optional chaining, test context variables * make cloud tests pass? * add runQueriesInWorkers function * remove runQueriesInWorkersQueue from build command for now * add test for runQueriesInWorkersQueue * adapt activity * first part of review comments * wip test * finalize test * proper test with jest-extended Co-authored-by: pieh@users.noreply.github.com * typescript magic * revert createProgress changes
- Loading branch information
Showing
17 changed files
with
401 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.