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

Extract identity from aggregate definition #26

merged 37 commits into from Feb 20, 2018


None yet
1 participant

notxcain commented Sep 7, 2017

I always thought that aggregate's identity is not a concern of the aggregate itself. And that no business logic should depend on the value of identifier.

What started as an experiment 6 month ago resulted in complete rework of API.

  1. Entity identity is removed from its behavior and abstracted
  2. Op ~> F is replaced by more polymorphic M[_[_]]
  3. Entity actions serialization is checked during compile time, see WireProtocol and @wireProtocol annotation.
  4. JournalAdapter is introduced to be able to use different Akka Persistence journal implementation, previously only Cassandra was supported.

notxcain added some commits Sep 4, 2017

notxcain added some commits Feb 20, 2018

@notxcain notxcain merged commit 050b050 into master Feb 20, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed

@notxcain notxcain deleted the extract-identity branch Feb 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment