Why createMutation doesn't have $data and $error as part of API?
So, I need to use finished.success or finished.failure, but it completely change the response. For example the finished.failure returns
{
params: ....,
error: ....,
}
instead of just error. It's not useful for some case, for example to handle error with condition from patronum.
Why
createMutation
doesn't have$data
and$error
as part of API? So, I need to usefinished.success
orfinished.failure
, but it completely change the response. For example thefinished.failure
returnsinstead of just
error
. It's not useful for some case, for example to handle error withcondition
from patronum.