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

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

Merged
merged 4 commits into from
Jan 12, 2023

Conversation

LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Jan 11, 2023

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
@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