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 AbpEntityChangeOptions and add aditional PublishNavigationEntityUpdatedEventWhenNavigationChanges #19894

Closed
1 task done
puschie286 opened this issue May 21, 2024 · 1 comment
Assignees

Comments

@puschie286
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

AbpEntityChangeOptions (with PublishEntityUpdatedEventWhenNavigationChanges) should be documented in local event bus (its surprising that events are generated for unchanged entities)

Currently this option control the update event generation for the entity itself and the navigation entity - so you can only disable both. If you want only events for the entity itself, you have to override AbpDbContext and implement it yourself

(entity self and navigation entity

Describe the solution you'd like

Add information about AbpEntityChangeOptions on LocalEventBus documentation page.

Add PublishNavigationEntityUpdatedEventWhenNavigationChanges and use it in SaveChangesAsync

Additional context

No response

@maliming
Copy link
Member

maliming commented May 22, 2024

Resolve by #19901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants