how to filter in dynamic zone in strapi using graphql?

how to filter in dynamic zone in strapi using graphql?

how to filter in dynamic zone in strapi using graphql?

ยท

1 min read

hello, dev's. i need help in strapi. if any one know please help me! thanks ๐Ÿ™‚

query GetPosts($datelte: Date!, $dategte: Date!, $searchkey: String) {
  posts(filters: { effectiveDate: { lte: $datelte, gte: $dategte } }) {
    data {
      attributes {
        effectiveDate
        contentSections {
        ... on ComponentElementsEvents {
          title
            }
        }
      }
    }
  }
}

here how can I add a search filter by searchkey for the title?

title it's inside a dynamic zone.

dynamic zone image filed inside dynamic zone filter

ย