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 :wink:
@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 :wink:
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 :wink: