Provide a state object in the command request that can be directly modified to update store state #213
The following has been addressed in the PR:
This leverages proxies (where available), to add a
The text was updated successfully, but these errors were encountered:
I updated this to use a getter for state and throw an exception if used in IE. It seemed preferable to an alternative factory to me for a couple reasons:
Because of the way the patches are applied providing a
The command error test was ignoring the error in the command, which was being neither returned nor thrown, and instead failed because it was trying to iterate over undefined. Now the process will still succeed if a command returns no operations, and this and the intended error handling are verified in updated tests.