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