From b5ff79fc3fffae8259297b1dbf4ce73f25a10366 Mon Sep 17 00:00:00 2001 From: Bikram Suwal Date: Fri, 4 Nov 2022 16:58:51 +0545 Subject: [PATCH] docs: fix decorator for @AfterRecover() (#9504) ### `@AfterRecover` You can define a method with any name in the entity and mark it with `@AfterRecover` and TypeORM will call it after the entity is recovered using repository/manager `recover`. Example: ```typescript @Entity() export class Post { @AfterRecover() updateStatus() { this.status = "recovered" } } ``` `@AfterSoftRemove()` should be `@AfterRecover`