OrleansContrib / Orleans.Sagas

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

Pass IGrainActivationContext to IActivity for extensibility #14

Closed jdom closed 7 years ago

jdom commented 7 years ago

Pass IGrainActivationContext to IActivity, so that the activity can have access to all scoped and application services, instead of restricted access to just the grain factory and the logger.

jdom commented 7 years ago

@creyke this is just an idea, since we are planning to use IGrainActivationContext a lot in the near future, due to how useful it is to reusable infrastructure. But maybe your intention was to give restricted access to just those 2 services, so in that case feel free to close this PR.