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): migrate schema reducer to TypeScript #23591

Merged
merged 2 commits into from
May 5, 2020

Conversation

hiwelo
Copy link
Contributor

@hiwelo hiwelo commented Apr 29, 2020

Description

This commit implements the migration of the schema reducer to TypeScript by adding the SET_SCHEMA action to the ActionsUnion and by adding the basic types from the IGatsbyState interface.

(this new PR is following the issue existing in #23476 — the deletion of my fork messed up with the PR, so here's the latest version. Thanks @LekoArts for spotting the issue)

Related Issues

Related to #21995

Copy link
Contributor

@blainekasten blainekasten left a comment

Choose a reason for hiding this comment

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

Looking great, one change and I'm happy to merge it!

This commit implements the migration of the schema reducer to
TypeScript by adding the SET_SCHEMA action to the ActionsUnion and
by adding the basic types from the IGatsbyState.
@hiwelo hiwelo force-pushed the ts-migration/reducer-schema branch from b8e03b7 to 368db0a Compare April 29, 2020 15:37
@pieh pieh dismissed blainekasten’s stale review May 5, 2020 12:59

comments were addressed

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 for addressing Blaine's comment. This looks good and let's get this in!

@pieh pieh added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label May 5, 2020
@gatsbybot gatsbybot merged commit a694d43 into master May 5, 2020
@delete-merged-branch delete-merged-branch bot deleted the ts-migration/reducer-schema branch May 5, 2020 13:22
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants