I have collection’s with relationships that cascade after an item’s deletion. Both collections have files associated with them, so I’ve created a hook to handle deleting the files automatically. The hook for the deleted item triggers, but the hook for the cascaded item doesn’t. Is this by design?
Directus can only trigger events for actions done through its API. Cascading deletes are handled by the database engine in the background, Directus is not aware of which items get deleted by the database when cascading and thus cannot trigger events for those items.