Skip to content

Conversation

@ollitapa
Copy link
Contributor

Added a debug print of an action sent recursively to the store. Useful if the stacktrace is long or Xcode does not show the action in the debug-tooltip (nothing to do with this library, but a bug that happens to me quite frequently).

Copy link
Member

@mbrandonw mbrandonw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it! I suggest one small change to simplify it a bit.

Thanks!

Co-authored-by: Brandon Williams <mbw234@gmail.com>
@mbrandonw mbrandonw merged commit 1677b2d into pointfreeco:master Jun 16, 2020
@ollitapa ollitapa deleted the master branch July 2, 2020 05:56
honghaoz pushed a commit to chouti-dev/swift-composable-architecture that referenced this pull request Jul 6, 2020
* Print offending action on Store.send assertion

* Reword Store.send assert

Co-authored-by: Brandon Williams <mbw234@gmail.com>

Co-authored-by: Brandon Williams <mbw234@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants