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
I want to abstract certain reusable logic that uses withPostFailure and withPostSuccess injections. But, I don't want this to override injections if they are already defined in the action.
Example
{
...,someAction: ()=>({
...,injections: [withPostSuccess(async(dispatch,response)=>{// some code}),withPostSuccess(async(dispatch,response)=>{// some code}),],}),}
Current Behaviour
Only the last withPostSuccess is called.
Expected Behaviour
Both withPostSuccess are called.
The text was updated successfully, but these errors were encountered:
I want to abstract certain reusable logic that uses withPostFailure and withPostSuccess injections. But, I don't want this to override injections if they are already defined in the action.
Example
Current Behaviour
Only the last withPostSuccess is called.
Expected Behaviour
Both withPostSuccess are called.
The text was updated successfully, but these errors were encountered: