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

CTF-next: codemods to help for migration #35113

Conversation

axe312ger
Copy link
Collaborator

@axe312ger axe312ger commented Mar 11, 2022

This adds codemods to #30855 to simplify migration for everyone.

I will try to cover everything that makes sense // is possible from the steps to migrate: #31385 (comment)

Open todos:

  • add codemod for long text fields(unreliable!)
  • add codemod for rich text (sorry, way to complex!)
  • the graphql transform seems to fail when the queries contain comments

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Mar 11, 2022
@axe312ger axe312ger marked this pull request as draft March 11, 2022 16:56
@axe312ger axe312ger added breaking change If implemented, this proposed work would break functionality for older versions of Gatsby type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement. topic: source-contentful Related to Gatsby's integration with Contentful and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Mar 11, 2022
@axe312ger axe312ger force-pushed the feat/contentful-schema-generation-codemods branch from 3ca1a11 to ef167a3 Compare March 16, 2022 14:49
@axe312ger axe312ger force-pushed the feat/contentful-schema-generation-codemods branch from ef8e621 to 3378369 Compare March 28, 2022 11:19
@axe312ger axe312ger force-pushed the feat/contentful-schema-generation branch from 776a15e to bf32fae Compare April 14, 2022 09:55
@axe312ger axe312ger force-pushed the feat/contentful-schema-generation branch 3 times, most recently from c3fc6da to 8aa8f20 Compare May 17, 2022 13:25
@axe312ger axe312ger force-pushed the feat/contentful-schema-generation branch from 8aa8f20 to 7ea4514 Compare May 24, 2022 12:22
@axe312ger axe312ger force-pushed the feat/contentful-schema-generation-codemods branch from 7447df9 to 0400c70 Compare May 24, 2022 16:22
@axe312ger axe312ger force-pushed the feat/contentful-schema-generation-codemods branch from 0400c70 to eb32056 Compare August 11, 2023 11:57
@axe312ger axe312ger marked this pull request as ready for review August 31, 2023 12:54
@axe312ger
Copy link
Collaborator Author

axe312ger commented Sep 5, 2023

Missing code-mods:

  • rename ts interfaces + object keys

@axe312ger axe312ger merged commit 6e68121 into feat/contentful-schema-generation Sep 18, 2023
@axe312ger axe312ger deleted the feat/contentful-schema-generation-codemods branch September 18, 2023 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change If implemented, this proposed work would break functionality for older versions of Gatsby topic: source-contentful Related to Gatsby's integration with Contentful type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant