-
Notifications
You must be signed in to change notification settings - Fork 909
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
sprint.commit vs. backlogItem.commitTo #41
Comments
yeah something is off. My guess is that the |
You don't send events into the model. Events are translated to corresponding commands. The The Still, that doesn't necessarily mean that the Sprint must emit a |
I apologize, I wasn't saying to send events into the model but rather the action of BacklogItem.commitTo() emits an event. A handler would listen to that event and then utilize the EDIT: Would adding a check in the sprint model's |
Passing in
And, no, this operation does not break the |
Okay that makes sense - however shouldn't the sprint be checking that the backlog item is in fact committed to itself? otherwise if called out of order you have a sprint that thinks a backlog item is committed to it and a backlog item that thinks it has not been committed to a sprint? |
I'm trying to understand the eventing and am a bit puzzled cause when I follow the invocations starting from RabbitMQBacklogItemCommitedListener, it calls SprintApplicationService, which calls sprint.commit(BacklogItem bli). It doesn't publish any event.
Then on the BacklogItem entity I also see a "commitTo" method, which does publish an event, but this method is only called from the tests.
That looks like something is wrong/inconsistent here...
The text was updated successfully, but these errors were encountered: