redux-api-middleware icon indicating copy to clipboard operation
redux-api-middleware copied to clipboard

Consider to allow Request interface to be used in endpoint

Open leesiongchan opened this issue 8 years ago • 0 comments

Now endpoint is only allowing string or function. Do you think it makes sense to allow Request interface to be whitelisted as well? Since the Fetch API is accepting both string and Request object.

https://github.com/agraboso/redux-api-middleware/blob/master/src/validation.js#L107

leesiongchan avatar May 05 '16 06:05 leesiongchan