Pipeline rollback
#54660
Replies: 1 comment
-
you should watch the first laracon talk (starting somewhere around the 39th minute: https://www.youtube.com/watch?v=Gk8pX7RUn3A He is talking about the saga pattern. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When we invoke a pipeline and encounter an exception in one of the steps, we could call a rollback method on the corresponding service class if it exists.
To achieve this, we could create a new
via
function that allows specifying the name of therollback
method as a parameter.Beta Was this translation helpful? Give feedback.
All reactions