Skip to content

Add BeforeDeleteCallback and AfterDeleteCallback #3943

@MaurizioCasciano

Description

@MaurizioCasciano

Consider adding the Callbacks also for Delete operations under https://github.com/spring-projects/spring-data-mongodb/tree/main/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/event.

E.g. before deleting Document A it could be possible to delete all the @DocumentReference fields of A.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions