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(contentful): rich text linked asset filter #38716

Conversation

FrivalszkyP
Copy link

Description

As discussed in the gatsby-source-contentful major version thread (#38585 (reply in thread)), there is a tiny little bug in the rich text linked asset query. The Gatsby GraphQL Node Model method findAll requires the query params to be wrapped in a filter object.

Documentation

See the findAll docs here.

Tests

I did not add tests for the fix. Let me know if I should!

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Nov 28, 2023
@FrivalszkyP
Copy link
Author

CC @axe312ger in case you don't get a notification.

@pieh pieh added 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 Dec 4, 2023
@axe312ger
Copy link
Collaborator

Thank you. At some point, this will be annoying when supporting multi-space assets and references, but this will not be the only position in code where we have to adjust.

Therefore, I merge it now. Thanks!

@axe312ger axe312ger merged commit 9e61200 into gatsbyjs:feat/contentful-schema-generation Dec 6, 2023
31 of 33 checks passed
@axe312ger
Copy link
Collaborator

Released as gatsby-source-contentful@9.0.0-alpha.2

@FrivalszkyP FrivalszkyP deleted the fix/rich-text-linked-asset-filter branch December 6, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: source-contentful Related to Gatsby's integration with Contentful
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants