mikro-orm-soft-delete
mikro-orm-soft-delete copied to clipboard
Generic soft delete solution for MikroORM.
**Description**: It would be helpful to have an option to recover entities that have been soft-deleted. This feature would enable users to restore entities to their original state, rather than...
I have a Foo entity with a OneToOne relation to a Bar entity. When hard-deleting Foo, Bar is deleted due to having deleteRule: 'cascade'. When soft-deleting Foo, Bar is not...
> @TheNightmareX The one thing I wish I could of done but couldn't see a path to implement was get the `@SoftDeletable` decorator to throw an error if the subscriber...
As the question mention, I'm not using decorator but using entities schema, how can I use this package with that specific usecase?
# Steps to reproduce NOTE: `base.em = EntityManager` ## Soft-deletion enabled ```typescript const t0s = await base.em.find( T0, {}, { orderBy: { r: { u: { f: QueryOrder.asc, }, },...