Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove comment after remove relation data #163

Open
Kronos66 opened this issue Oct 19, 2022 · 0 comments
Open

Remove comment after remove relation data #163

Kronos66 opened this issue Oct 19, 2022 · 0 comments
Labels
backlog feature request Community feature request v4 Strapi v4

Comments

@Kronos66
Copy link
Contributor

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 Kronos66 changed the title Remove comment after remove relation content type Remove comment after remove relation data Oct 19, 2022
@cyp3rius cyp3rius added feature request Community feature request backlog v4 Strapi v4 labels Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog feature request Community feature request v4 Strapi v4
Projects
None yet
Development

No branches or pull requests

2 participants