Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document event publication from repository delete methods in AbstractAggregateRoot #2903

Closed
wants to merge 1 commit into from

Conversation

shin-mallang
Copy link
Contributor

The registerEvent method works for either Spring Data repository's save or delete methods, but the comments only describe save.
I think it should be explained that it also works for the delete method, like in the EventPublishingMethodInterceptor class.

Added additional comment regarding registerEvent and andEvent in AbstractAggregateRoot.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 16, 2023
@mp911de mp911de added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 16, 2023
mp911de pushed a commit that referenced this pull request Aug 16, 2023
…tAggregateRoot`.

Added additional comment regarding registerEvent and andEvent in AbstractAggregateRoot.

Closes: #2903
@mp911de mp911de closed this in b0ffb1a Aug 16, 2023
mp911de pushed a commit that referenced this pull request Aug 16, 2023
…tAggregateRoot`.

Added additional comment regarding registerEvent and andEvent in AbstractAggregateRoot.

Closes: #2903
@mp911de mp911de changed the title Added supplementary comment in AbstractAggregateRoot. Document event publication from repository delete methods in AbstractAggregateRoot Aug 16, 2023
@mp911de mp911de self-assigned this Aug 16, 2023
@mp911de mp911de added this to the 3.0.9 (2022.0.9) milestone Aug 16, 2023
@mp911de
Copy link
Member

mp911de commented Aug 16, 2023

Thank you for your contribution. That's merged and backported now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants