diegohaz/arc

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

Aberta

#292 aberto em 23 de jun. de 2017

 (3 comentários) (3 reações) (0 responsável)JavaScript (291 forks)github user discovery
PR welcomeenhancementhelp wanted

Métricas do repositório

Stars
 (2.924 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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?

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

Guia do colaborador