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

Why the command needs to tell the expected version? #40

Closed
Narvalex opened this issue Jul 20, 2017 · 4 comments
Closed

Why the command needs to tell the expected version? #40

Narvalex opened this issue Jul 20, 2017 · 4 comments

Comments

@Narvalex
Copy link

No description provided.

@gautema
Copy link
Owner

gautema commented Jul 20, 2017

This is to support optimistic concurrency

@Narvalex
Copy link
Author

I understand, but, shouldn't it be optional? Since there are lots of event sourcing implementations that does not wraps the optimistic concurrency check all the way from the read model, but from the aggregate hydration, like the Microsoft's Patterns a Practice CQRS Journey?

@gautema
Copy link
Owner

gautema commented Jul 24, 2017

It is optional. The value is nullable.

@Narvalex
Copy link
Author

Fair enough. Thanks

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

No branches or pull requests

2 participants