Hey. We are revalidating NextJS routes on a web hook trigger setup inside DatoCMS. The revalidate API is called when a record get’s republished. The problem we are having is that this does not work when a linked records are updated.
Is there a way to revoke “re-publish” on all parent record? Example - let’s say we have two content types: Product page and FAQ. Product page has a link field to FAQ. Now lets say I do this
- Product page A
- Product page B
- Product page C
- FAQ record X
FAQ record X is linked on Product page A and C. So, is there a way to automatically republish Product page A and C if FAQ X is updated? Or somehow setup a web hook that would let us know parent records of linked records?
Ty