arc
arc copied to clipboard
[redux/entities] API path with child path not handled
If I dispatch a path like this, then the /
will error out my client and not cause it to dispatch.
A schema is expecting the variable name of order/statistics
. Can we add handling for special characters like this on the schema entities?
const mapDispatchToProps = (dispatch, { limit }) => ({
readList: () =>
dispatch(
resourceListReadRequest('orders/statistics', { _limit: limit })
),
})
For example:
https://api.github.com/user/repos?page=3&per_page=100
How would I call this using the API service? user/repos/
And how about this one?
https://jsonplaceholder.typicode.com/posts/1/comments
Any news on this?