hunk.code_window:             if (dataSource) await dataSource.destroy()
               PlatformTools.logCmdErr("Error during schema synchronization:", err)
               process.exit(1)
           }
       }
   }
hunk.labels: keep keep replace keep keep keep keep
hunk.file_path: src/commands/SchemaSyncCommand.ts
hunk.type: replace
file: import { Post } from "../entity/Post"
  import { EntitySubscriberInterface, EventSubscriber } from "../../../../src"
  import { LoadEvent } from "../../../../src/subscriber/event/LoadEvent"
  
  @EventSubscriber()
  export class ExtendedAfterLoadSubscriber
      implements EntitySubscriberInterface<Post>
  {
      listenTo() {
          return Post
      }
  
      async afterLoad(entity: Post, event: LoadEvent<Post>) {
          entity.extendedSubscriberSaw = event
      }
  }
  