Project

General

Profile

Actions

Feature #34745

closed

Better handling when no key is passed to API middleware

Added by Jeremy Lenz over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When API middleware receives an action payload with no `key`, it results in dispatching actions such as `undefined_REQUEST` and `undefined_SUCCESS`. This can cause lots of developer frustration. Should error instead so the developer knows what's going on.

Actions

Also available in: Atom PDF