-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi,
I'm facing an issue to display mutation errors using relate.
In helpers/request.js, the errors are dispatched, but not returned by the promise.
promise = promise.then(({data, errors}) => {
dispatch({type, data, errors, ...params});
return data;
});
And in the reducer, the errors are not handled at all.
My first sight will be to update the request helper, and return the errors in the promise, but I may miss something.
Any suggestion on how handle errors using relate ?
Thanks & Regards,
Metadata
Metadata
Assignees
Labels
No labels