diegohaz/arc

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

开放

#292 创建于 2017年6月23日

 (3 条评论) (3 个反应) (0 位负责人)JavaScript (291 个派生)github user discovery
PR welcomeenhancementhelp wanted

仓库指标

星标
 (2,924 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南