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
Consider adding the possibility to save and access metadata #26
Comments
Yes, I am working on that already. The upcoming release has a requirement to allow storing and retrieving metadata also because of the distributed tracing feature, which is coming. |
Btw @ricksecretin if you have any thoughts about #9 please write there. |
@ricksecretin any thoughts about what to do with the loaded metadata when reading events? The aggregate store can't really do anything with it. |
- Serializer (as it might be different from event serializer) - Full coverage for EventStore - Add meta in the aggregate store (allows using $correlationId) - Unclear what to do when reading meta as AS has nothing to do with it - IEventStore needs meta as well as it can do some meta injection for tracing
@alexeyzimarev for me personally I don't think it's useful to have access to it when calling the aggregateStore. |
Right, that's my thought as well. So far, both This commit f0afa0a adds traces to the meta for producers. As it uses the |
It would be nice to be able to save and access metadata easily in eventuous.
Currently a 'null' is saved for metadata when appending events to the eventstore.
It would be nice if there was a method that you could override like 'AddMetadata' when inheriting from AggregateStore to set the metadata.
Currently no access to metadata in event handlers
This would be nice to use the build-in $correlationId of eventStore.
Currently I had to reimplement some of the already implemented classes like aggregateStore to make this possible.
Thanks.
The text was updated successfully, but these errors were encountered: