Added ensure - #206
Conversation
|
I don't why but the CI is not triggered... |
6c82935 to
734a4b2
Compare
|
You can achieve the same behaviour using around-hook and regular Example with exxception: Output: Example with Output: |
|
The beauty of this gem is in its simplicity. It allows you to make almost everything you want on top of it. Output: |
This is a great example. Maybe this PR can be updated to simply add that example to the README? I needed this "ensure" behavior and was disappointed it wasn't in the "hooks" section of the README. |
|
@mainameiz sorry for the late response, I think your opinion is subjective. At the library point of view, you have documentation, tests and make easier the integrations (provided by community) then if you move this responsibility to the consumers each consumer needs to implement their own implementation and tests (redundant code). |
|
Thank you for contributing this and I'm sorry it has taken so long to get eyes on it. Could you share a more concrete example of how This PR also suffers from it including changes to GitHub Actions and added unrelated features ( |
_current_interactor_classin the context.