strapi-plugin-comments icon indicating copy to clipboard operation
strapi-plugin-comments copied to clipboard

Remove comment after remove relation data

Open Kronos66 opened this issue 2 years ago • 0 comments

Could you implement db hooks to remove comments after remove related content type data?

Example scenario:

  • Comments have relations to articles
  • Users adding comments to some articles
  • After remove one articles all comments in relation should be remove

That hooks shouldn't override hooks implemented by owner on model lifecycle

Kronos66 avatar Oct 19 '22 08:10 Kronos66