Orleans.Sagas icon indicating copy to clipboard operation
Orleans.Sagas copied to clipboard

Directed acyclic graph support

Open creyke opened this issue 7 years ago • 1 comments

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<TConfig> variant of the interface.

creyke avatar Sep 08 '17 09:09 creyke

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

creyke avatar Sep 11 '17 16:09 creyke