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

CommandHandler must not discard information when creating events #5360

Open
bwaidelich opened this issue Nov 11, 2024 · 1 comment
Open

CommandHandler must not discard information when creating events #5360

bwaidelich opened this issue Nov 11, 2024 · 1 comment

Comments

@bwaidelich
Copy link
Member

Currently, in some cases, resulting events don't contain all information that was contained in the original command.

Right now we can always extract this information from the command that is serialized to the event metadata, but we should not rely on that internal mechanism.

For example: the MoveNodeAggregate command contains the $relationDistributionStrategy but the corresponding NodeAggregateWasMoved event only contains the resulting $succeedingSiblingsForCoverage.

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

No branches or pull requests

1 participant