ianbeks
ianbeks

Reputation: 2228

redux-api-middleware RSA SUCCESS action meta property lost

I'm using the redux-api-middleware.

I have set the meta property of the SUCCESS action and it's being lost when accessing the action in the reducer, regardless of whether I set it as a plain JS object or a function(action, state, res). What makes this strange is that the REQUEST action retains the meta property. It leads me to believe the SUCCESS action is being recreated/overwritten by the middleware and dropping everything except the type and payload properties. The documentation however indicates that the meta property can be used on the SUCCESS action.

Any clues as to what I'm doing wrong or is it a bug?

Upvotes: 1

Views: 133

Answers (0)

Related Questions