-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(contentful): improve Rich Text field support
* Allow circular references * Improve performance and reduce RAM footprint * Query referenced entries and assets via GraphQL fixes #24221 BREAKING CHANGE: * Entities references in Rich Text fields are no more automatically resolved * Use the `raw` subfield instead of `json` * Use GraphQL to define your referenced data with the new `references` field * Removes the `resolveFieldLocales` as the new `references` field automatically resolves locales * To render Rich Text fields unse the new `renderRichText()` function from `gatsby-source-contentful/rich-text`
- Loading branch information
Showing
8 changed files
with
162 additions
and
559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
355 changes: 0 additions & 355 deletions
355
packages/gatsby-source-contentful/src/__tests__/rich-text.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.