Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a config to disable the u-case safe features #47

Open
serradura opened this issue Jul 27, 2020 · 0 comments
Open

Add a config to disable the u-case safe features #47

serradura opened this issue Jul 27, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@serradura
Copy link
Owner

To avoid a fragmented codebase where some exceptions are handled with rescue and on_exception hook. The idea is to create a feature toggle which will forbid the usage of Micro::Case::Safe, Micro::Cases::safe_flow() and Micro::Case::Result#on_exception to ensure that will have only one way to handle exceptions, in that case, using a standard rescue statement.

Thanks, @lunks for helping me to elaborate on this idea.

@serradura serradura added the enhancement New feature or request label Jul 27, 2020
@serradura serradura added this to the 3.x milestone Jul 27, 2020
@serradura serradura modified the milestones: 3.x, 4.x, Someday Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant