diegohaz/arc
[redux/entities] API path with child path not handled
Ouverte
#292 ouverte le 23 juin 2017
PR welcomeenhancementhelp wanted
Métriques du dépôt
- Stars
- (2 924 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
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?
const mapDispatchToProps = (dispatch, { limit }) => ({
readList: () =>
dispatch(
resourceListReadRequest('orders/statistics', { _limit: limit })
),
})