colinbate / redux-form-submit-saga

Handles redux-form submissions using redux-saga
MIT License
61 stars 12 forks source link

error doesn't work when using with immutable.js #2

Closed josephktcheung closed 7 years ago

josephktcheung commented 7 years ago

Hi,

First of all awesome library! Very convenient to use by not needing to write our own saga for redux-form.

One thing though, since I'm using immutable.js, SubmissionError doesn't show up in redux-form action because the library is not using the one exported from redux-form/immutable but from redux-form. You may refer to this issue https://github.com/erikras/redux-form/issues/1713/

How to make this library support immutable.js? Thanks.

Best, Joseph

ghost commented 7 years ago

I have the same problem !

colinbate commented 7 years ago

A fair point, I'll take a look at adding support for immutable.js as soon as I can.

colinbate commented 7 years ago

Release v1.1.0 should support immutable via imports on redux-form-submit-saga/immutable. Let me know if it isn't working for you, none of my test projects use it.