-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
status: ideal-for-contributionAn issue that a contributor can help us withAn issue that a contributor can help us withtype: enhancementA general enhancementA general enhancement
Milestone
Description
Hello,
I would like to contribute a ValidatingEntityCallback (in addition to the ValidatingMongoEventListener) to the code base.
The ValidatingMongoEventListener is not suitable for me due to the design nature of EventListener and EntityCallback. I prefer EntityCallback
IMHO the ValidatingMongoEventListener should (even) be marked as deprecated, because
- the
EntityCallbacksare recommended by the Spring docs and EventListenerare by design triggered/executed before anyEntityCallback. This can lead to undesired behaviour difficult to track down by a developer, e.g. validation of entity happens before the entity in request is manipulated by anyEntityCallback
If the maintainers/team accept my enhancement proposal, I can make a pull request.
Metadata
Metadata
Assignees
Labels
status: ideal-for-contributionAn issue that a contributor can help us withAn issue that a contributor can help us withtype: enhancementA general enhancementA general enhancement