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

make structs serializable from and to plain data objects #47

Merged
merged 3 commits into from
Jan 10, 2016

Conversation

DominikGuzei
Copy link
Member

Makes it possible to transform complete struct hierarchies to plain data objects and vice versa.
This will be used in the upcoming commit store refactoring, so that all our event and command data is saved as data that can be queried with mongoDB. Also for projections this will be useful, as we can now simply parse the pure data into structs / VOs 😉

@DominikGuzei
Copy link
Member Author

@darko-mijic this works now as expected. I have it running with the business app @rhyslbw and i am building. I will push a PR for space:event-sourcing and updated commit store etc. too 😉

rhyslbw added a commit that referenced this pull request Jan 10, 2016
make structs serializable from and to plain data objects
@rhyslbw rhyslbw merged commit 7152de0 into develop Jan 10, 2016
@rhyslbw rhyslbw deleted the feature/serializing-structs branch January 10, 2016 16:17
@rhyslbw rhyslbw restored the feature/serializing-structs branch January 10, 2016 16:19
@rhyslbw rhyslbw deleted the feature/serializing-structs branch January 10, 2016 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants