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

Coalesce field values to ensure no broken production build on no content #2882

Conversation

daniel-simpson
Copy link
Contributor

Added one line check to ensure fields that are sent from contentful are not treated as null and then stripped from graphql available schemas.

Caused by behaviour described in #2881

@daniel-simpson
Copy link
Contributor Author

On closer inspection this seems to be a duplicate of #2037

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit fafb654

https://deploy-preview-2882--gatsbygram.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit fafb654

https://deploy-preview-2882--using-drupal.netlify.com

@KyleAMathews
Copy link
Contributor

Yeah — would love it if someone wanted to help out on #2037. Also you'd need to emulate the type of the contentful field as you wouldn't want to default to a string when the original type is a number and so on.

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