Skip to content

Mutations and error handling

Compare
Choose a tag to compare
@oliyh oliyh released this 29 Dec 13:51
· 112 commits to master since this release

This release adds support for:

This release changes:

  • Callback events now receive the entire payload map, consisting of :data and :error keys and possibly more. This is a breaking change and any existing callback events will need to destructure the payload map to obtain the :data value which was passed in previously. See the README or tests for examples. This change was added in order to provide better support for error handling, as it now gives you access to the :error key, if present, to use in this workflow. Thanks again to @r0man