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

貢獻者指南