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

Add Codec support for MemoryStore #173

Merged
merged 3 commits into from
Oct 26, 2019
Merged

Add Codec support for MemoryStore #173

merged 3 commits into from
Oct 26, 2019

Conversation

bartelink
Copy link
Collaborator

The current implementation of MemoryStore stores the events directly, as supplied, without any transformations being applied. One downside to this is that it does enable multiple 'aggregates' to share the same data but with different event Types (e.g. if one aggregate has a subset of the union cases of another).

This upgrades MemoryStore to admit a codec parameter, which makes it equivalent in facilities to the other stores, including support for metadata management.

relies on jet/FsCodec#25
related: jet/FsCodec#24

@bartelink bartelink marked this pull request as ready for review October 26, 2019 09:07
@bartelink bartelink changed the title Provide Codec support for MemoryStore Add Codec support for MemoryStore Oct 26, 2019
@bartelink bartelink merged commit 259ad25 into master Oct 26, 2019
@bartelink bartelink deleted the memorystore-envelope branch October 26, 2019 11:08
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.

1 participant