agraboso / agraboso/redux-api-middleware

Custom payload function is overwritten in RequestError & InternalError instances

未關閉
#257 5 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
1.5k
分支
190
PR 合併指標
30 天內沒有已合併 PR

描述

Not sure if this is intended by design or not, but currently, it's not possible to handle these types of errors in the `FETCH_ERROR`, payload function.

It gets overwritten, here for example https://github.com/agraboso/redux-api-middleware/blob/2263853010708a75ac94af4878847068ea122b53/src/middleware.js#L185

Don't think this should be the case

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。