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

feat(gatsby): Add graphqlTypegen config option #35697

Merged
merged 19 commits into from
May 19, 2022
Merged

Conversation

LekoArts
Copy link
Contributor

@LekoArts LekoArts commented May 19, 2022

Description

This moves the experimental flag for #35420 to a top-level config option in gatsby-config with the name graphqlTypegen.

Documentation

Docs + Example in #35584 will be updated after this PR.

Related Issues

[ch50828]
[ch50878]

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label May 19, 2022
@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 May 19, 2022
@LekoArts LekoArts added this to the GraphQL Typegen milestone May 19, 2022
@@ -136,7 +136,6 @@ export async function writeTypeScriptTypes(
},
addUnderscoreToArgsType: true,
skipTypename: true,
flattenGeneratedTypes: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

wardpeet
wardpeet previously approved these changes May 19, 2022
@LekoArts LekoArts merged commit 97433ec into master May 19, 2022
@LekoArts LekoArts deleted the graphql-typegen-option branch May 19, 2022 13:09
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.

4 participants