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

Extend CommandContext with the streams current StreamVersion #55

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

TomMalow
Copy link
Contributor

@TomMalow TomMalow commented Dec 8, 2024

Extending the CommandContext with the streams current StreamVersion allows for new opportunities to add conditional logic based on the StreamVersion; such as when the stream is new to build up the stream with additional events.

Copy link
Collaborator

@LarsSkovslund LarsSkovslund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition @TomMalow, well done!

@TomMalow TomMalow force-pushed the feature/command-handler-context-streamversion branch from 466485d to 3926429 Compare December 9, 2024 08:33
@LarsSkovslund LarsSkovslund merged commit 62b0d2a into main Dec 9, 2024
1 check passed
@LarsSkovslund LarsSkovslund deleted the feature/command-handler-context-streamversion branch December 9, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants