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-source-contentful): handle nullable fields #38358

Merged

Conversation

derrysucari
Copy link
Contributor

Description

GraphQL Typegen feature generates TypeScript types — they are nullable by default. This should be handled for Contentful Rich Text.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 15, 2023
@pieh pieh removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 21, 2023
@pieh
Copy link
Contributor

pieh commented Jul 21, 2023

@axe312ger this looks correct to me in current version of the plugin, but want to check if this change make sense to you. Also does this have any impact on ctf-next?

@axe312ger
Copy link
Collaborator

Will be fine with ctf-next! Go ahead!

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.

Thank you!

@pieh pieh merged commit 7a2778b into gatsbyjs:master Jul 21, 2023
1 check passed
This was referenced Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants