Closed nick-cromwell closed 4 years ago
@GooRiOn If you could create a Chronicle.Integrations.EFCore repository I have that integration done as well.
@GooRiOn Do you have any feedback on this PR?
This looks good in general. I'm just no sure whether we should remove stuff completely from the store. After all this could be handy for some business related analysis. Maybe we should consider soft delete instead?
I think adding Redis and EFCore support is more important than the need to delete Completed sagas so I will remove it from this PR. Actually, thinking about it further, I think if this use case needs to be handled it would be better done with OnRejected()/OnCompleted().
I will keep the ChronicleConfig to centralize possible future config options for things like issue 28 [https://github.com/snatch-dev/Chronicle/issues/28].
DeleteOnComplete removed.
This is needed for Redis
@GooRiOn Could you take a look at this and approve or close it. I have an EF Core store to add if you can approve this and add a Chronicle.Integrations.EFCore repository. I'll handle the 3.1 migration once this is either closed or approved.
I'm going to close this and submit a new PR. The project structure has changed quite a bit and there is a better way to handle the serialization for Redis without the need to make SagaID public.
I'll open a new PR shortly.
Info
This Pull Request is related to issue no. [24] ([https://github.com/chronicle-stack/Chronicle/issues/24]) [6] ([https://github.com/chronicle-stack/Chronicle/issues/6])
Changes