gatsby-source-wordpress wpgraphql allWpCategory count not updating when I start assigning post

58 views Asked by At

I hope everyone see this and have the same issue.

I'm using headless approach with gatsbyjs, my problem is the count, IT'S not updating when I start assigning post in the categories. It's still showing null, even though there is a post in the category. I understand, running yarn clean will fix everything, but shouldn't be automatically updating the graphql as will as in the gatsby cloud?

  allWpCategory(filter: {slug: {eq: "boxing"}}) {
    nodes {
      name
      count
    }
  }

I'm expecting to see value in the category count without clearing cache.

0

There are 0 answers