You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sure! Feel free to submit a PR. It looks like there were many things added in yours such as having saga as a separate class, compensation complete/error callbacks, not log-then-swallowing compensation errors, etc. I think for a simple example we can just have the workflow maintain a set of compensations it loops over in reverse on error to be almost exactly like the TypeScript one.
Describe the solution you'd like
Basically a simple saga sample following principles in other SDKs and outlined at https://temporal.io/blog/compensating-actions-part-of-a-complete-breakfast-with-sagas and https://temporal.io/blog/saga-pattern-made-easy
The text was updated successfully, but these errors were encountered: