BullOak / BullOak.Repositories.EventStore

The EventStore integration project for BullOak
MIT License
0 stars 8 forks source link

Add soft delete by event #6

Closed codeshield2112 closed 5 years ago

codeshield2112 commented 5 years ago

Add the concept of a traditional soft-delete by appending a specific event to a stream. This means that the scavenger will not delete the stream (unlike ES soft delete).

Added a new interface IEventStoreStreamDeleter to access the SoftDelete and SoftDeleteByEvent methods, and extracted some common logic into methods so the new Repository methods can share it.