arc icon indicating copy to clipboard operation
arc copied to clipboard

[redux/entities] API path with child path not handled

Open Geczy opened this issue 7 years ago • 3 comments

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 })
    ),
})

Geczy avatar Jun 23 '17 17:06 Geczy

For example:

https://api.github.com/user/repos?page=3&per_page=100

How would I call this using the API service? user/repos/

Geczy avatar Jun 23 '17 18:06 Geczy

And how about this one?

https://jsonplaceholder.typicode.com/posts/1/comments

Geczy avatar Jun 23 '17 18:06 Geczy

Any news on this?

moisespio avatar Jun 25 '20 21:06 moisespio