JasperFx / jasper

Next generation application development framework for .Net
http://jasperfx.github.io/
MIT License
417 stars 55 forks source link

Sagas need to support a static `Start()` method that returns the Saga state #751

Open jeremydmiller opened 2 years ago

jeremydmiller commented 2 years ago

To be able to start a new saga from nothing, support something similar to Marten's event projection naming.

So OrderSaga.Create(StartSaga) : OrderSaga where it's a static, and creates the new saga for you and generates the identity