diegohaz/arc

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

Offen

#292 geöffnet am 23.06.2017

 (3 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)JavaScript (291 Forks)github user discovery
PR welcomeenhancementhelp wanted

Repository-Metriken

Stars
 (2.924 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide