Skip to content

New Hook type - entity.destroyed #44

@hudecsamuel

Description

@hudecsamuel

Problem: Project, eshop or user can be deleted without application that is linked to it knowing that it happened. This will basicaly leave data about it in application database, tasks etc.

Solution: It would be realy nice to create a new type of App Hook that will only serve to notify the app that entity that has it enabled was deleted so the app can clean up. This doesn't need to to be done instantenously, but should be done eventualy (If you send it an hour after the entity was deleleted it shouldn't be that much of a problem)

Example action:

{
    "action": "entity.destroyed",
    "entity_id": 42,
    "entity_type": "shop"
}

What do you think?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions