Skip to content

fix(gatsby): pluginOptionsSchema in local TS plugin - #37443

Merged
LekoArts merged 4 commits into
masterfrom
ts-pluginoptionsschema
Jan 12, 2023
Merged

LekoArts merged 4 commits into
masterfrom
ts-pluginoptionsschema

Conversation

@LekoArts

@LekoArts LekoArts commented Jan 11, 2023 •

Copy link
Copy Markdown
Contributor

Description

We're adding resolvedCompiledGatsbyNode to the IPluginInfo object but weren't using that for the pluginOptionsSchema validation.

I'm adding the test case into the graphql-typegen file since it's already an existing local TS plugin.

Related Issues

[ch59987]
Fixes #37319

@gatsbot gatsbot Bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 11, 2023
@LekoArts LekoArts added topic: TypeScript Issues and PRs related to TS in general, public typings or gatsby-plugin-typescript and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jan 11, 2023
Comment thread packages/gatsby/src/bootstrap/load-plugins/validate.ts Outdated
@LekoArts
LekoArts merged commit c57c060 into master Jan 12, 2023
@LekoArts
LekoArts deleted the ts-pluginoptionsschema branch January 12, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: TypeScript Issues and PRs related to TS in general, public typings or gatsby-plugin-typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pluginOptionsSchema not working when using typescript

3 participants