Prevent deletion of linked docs #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If a document is linked to by another doc, prevent the deletion of the doc until all linked docs are no longer linking to it.
Alternatively, just warn the user what they're doing will break stuff
This really ought to be part of the standard payload spec IMO
I'm thankfully not the first to identify this problem:
In fact, it is coming as an official feature in the future.
In the meantime careful typechecking on the frontend will have to suffice