Skip to content

Fix nested action objects

Latest
Compare
Choose a tag to compare
@ericelliott ericelliott released this 30 Jul 23:05
· 225 commits to master since this release

This version fixes a bug that caused payloads to nest inside each other. See issue #23

We consider this a breaking change because some users may have worked around the bug by digging into the incorrectly created action object to get at the correct payload key.

If your project breaks when you upgrade to this version, the fix is to find code that digs into a returned action object such that you are accessing action.payload.payload and update it so that it only tries to read from the top level action.payload.