OrleansContrib / Orleans.Sagas

A distributed saga implementation for Orleans
MIT License
156 stars 28 forks source link

Directed acyclic graph support #4

Open creyke opened 7 years ago

creyke commented 7 years ago

Quoting @ReubenBond:

We could expand the API to allow DAGs of activities instead of only a linear set. Maybe that could be achieved by using an Activity which can itself contain a sub-saga. In that implementation it might be better to pass fully constructed IActivity objects to the saga so that the deserialization can handle correctly configuring the grain references to the sub sagas. That would also remove the need for Activator.CreateInstance and the generic IActivity variant of the interface.

creyke commented 7 years ago

Fully constructed IActivity objects are now passed to the ISagaBuilder, un-blocking this issue. Considering how to proceed with the implementation.