diegohaz / diegohaz/arc

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

Open
#292 3 comments 3 reactions 0 assignees View on GitHub
enhancement help wanted PR welcome
Dominant language
JavaScript
Stars
2.9k
Forks
289
PR merge metrics
No merged PRs in 30d

Description

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?

```jsx
const mapDispatchToProps = (dispatch, { limit }) => ({
readList: () =>
dispatch(
resourceListReadRequest('orders/statistics', { _limit: limit })
),
})
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.