diegohaz/arc

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

オープン

#292 opened on 2017/06/23

 (3 件のコメント) (3 件のリアクション) (0 人の担当者)JavaScript (291 件のフォーク)github user discovery
PR welcomeenhancementhelp wanted

Repository metrics

Stars
 (2,924 個のスター)
PR merge metrics
 (30d に merged 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 })
    ),
})

コントリビューターガイド