-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
move BeforeSaveChanges before ProcessEvents #3008
base: master
Are you sure you want to change the base?
move BeforeSaveChanges before ProcessEvents #3008
Conversation
@jeremydmiller everything is ok? maybe set plan to merge? |
@borgez It's a breaking change in behavior. I can't take this in. What was the purpose of this? Why did you need this? |
I want to add general data like uid, etc... to the event, and expected behavior: projections handle this changes in "inline" mode. The current behavior doesn't seem quite as expected because the changes are applied to projections before the hook. The test describes my case:
|
@borgez We can revisit this, but you'll have to add something new or custom. We can't change the BeforeSaveChanges() before a potential Marten 8 release. |
@jeremydmiller maybe add hook BeforeEventProcessing or BeforeEventApply? |
2304ac4
to
32ff2fa
Compare
@jeremydmiller revorked |
No description provided.