(BREAKING CHANGE) Allow a success result have access to its use case
serradura opened this issue ยท 0 comments
serradura commented
- Update README (https://github.com/serradura/u-case/blob/v2.x/README.md#what-are-the-default-result-types)
- Allow a success result have access to its use case
- (BREAKING CHANGE) Pass the use_case object as the second argument of
Micro::Case::Result#on_success()
hook.
๐ Now, you can't use kwargs to decompose the result hash data into on_success
block argument.
Thanks, @lunks, @rinaldifonseca for helping me to elaborate on this idea.