-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
TASK: Remove references to CommandResult
in return types
#5061
TASK: Remove references to CommandResult
in return types
#5061
Conversation
I'm not 100% sure whether it might be useful to have some return type that tells something about the published events (e.g. last sequence number) and maybe even about the updated/skipped projections |
yes but id rather discuss this in #4988 or an issue? |
I am fine either way, CommandResult sounds right, we might just replace the inner workings and keep it around? |
yes, my thinking. Does it make sense to remove the class if we re-add it a couple of PRs later? |
Okay so then lets not remove it via your pr #4988: |
As discussed with @bwaidelich we will remove the result object for now as the skipping of projections will be superseded soonish and we dont have a reason for a result. In the future we can still add an object if deemed necessary as its non breaking. |
i guess $someone must have been using regex to remove the block calls or some other hacks:) (oops me^^)
9eebb1e
to
c9f8ce2
Compare
c9f8ce2
to
95e797e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am really unclear what changed about the reasoning to maybe keeping it around for the future, but 🤷
…sultInReturnTypes
Bastian and me discussed it in detail that neither the highestCommittedVersion or highestCommittedSequenceNumber from the |
Followup to #5059
Extracted from #4988
We will remove the result object for now since we removed the
->block()
earlier and currently have no information we need to pass to the user after calling$cr->handle()
. In the future we can still add an object if deemed necessary as its non breaking.Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions