Open paolofulgoni opened 5 years ago
What about adding a method to get all the pending saga of a given type?
Something like this:
public interface ISagaStateRepository { // ... Task<IEnumerable<ISagaState>> ReadPendingAsync(Type type); // or... Task<IEnumerable<ISagaState>> ReadAsync(Type type, SagaStates state); }
What about adding a method to get all the pending saga of a given type?
Something like this: