← Back to context

Comment by fiatpandas

7 years ago

Why would that be the good way to do it? Especially if that deletion action was behind a confirmation, or if the data was never recoverable by the user? At that point, just delete delete it.

A lot of reasons, here's a simple example: If you have a "product" which had a CRUD interface to make and users who add it to the card, deleting it would cause relationships to fail - as in if users who already purchased the item or added it to their cart would no longer be able to see it.