Skip to content

gatsby-source-contentful : graphql not having option to apply "in" filter into query #6279

@sachingvit

Description

@sachingvit

I am working on one template where I am having multiple products slugs and using them I want to fetch products. While I search on internet I found solution to use "in" into filter.

Same I am trying but no luck

screenshot 22

I am getting only 4 options

  • eq
  • ne
  • glob
  • regex

To do filter in my requirement I have to pass an array of slugs to get products, Can you please help me to achieve my requirement.

**Note: I have to do this query into my template and I am having slug array into my pathContext.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions