Skip to content

feat: implement entity lifecycle event delegation - #21921

Merged
mohityadav766 merged 6 commits into
mainfrom
entity-lifecycle-dispatcher
Jun 25, 2025
Merged

mohityadav766 merged 6 commits into
mainfrom
entity-lifecycle-dispatcher

Conversation

@mohityadav766

@mohityadav766 mohityadav766 commented Jun 24, 2025 •

Copy link
Copy Markdown
Member

Describe your changes:

  • Replace EntityRepository direct SearchRepository calls with EntityLifecycleEventDispatcher
  • Add SearchIndexHandler for search indexing operations in sync mode
  • Create extensible handler interface supporting async/sync execution and entity filtering

This enables seamless addition of lifecycle listeners for entity changes , audit logging, and custom
entity lifecycle handlers without modifying core repository logic

I worked on ... because ...

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@mohityadav766 mohityadav766 self-assigned this Jun 24, 2025
@mohityadav766
mohityadav766 requested a review from a team as a code owner June 24, 2025 09:50
@mohityadav766 mohityadav766 changed the title feat: implement entity lifecycle event delegation framework feat: implement entity lifecycle event delegation Jun 24, 2025
@github-actions github-actions Bot added the safe to test Add this label to run secure Github workflows on PRs label Jun 24, 2025
@mohityadav766
mohityadav766 requested a review from harshach June 24, 2025 09:52
@sonarqubecloud

Copy link
Copy Markdown

This branch was previously deployed

1 inactive deployment
test — cb77e672 Deployed Jun 25, 2025 by mohityadav766
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend e2e This will trigger e2e test workflows safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants