What is the best way to delete linked objects? I have two linked object sets, one is labels, and the other is label_rules . Each label can have many rules. I want that if a user deletes a label, all the rules linked to that label are also deleted automatically.
- This is currently not supported as a feature in the ontology manager app.
- The cleaning of stale links is also not done automatically by Object Storage v2, as explained in this thread
- It seems like the best way to do this is to write a FoO to delete the linked label_rules and then add that as part of the action that deletes labels.