agraboso / agraboso/redux-api-middleware
Custom payload function is overwritten in RequestError & InternalError instances
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.5k
- Forks
- 190
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.