That's this? https://github.com/trailblazer/trailblazer-operation
I actually really like that. At my previous job we used https://github.com/AaronLasseigne/active_interaction which has somewhat similar functionality, but it doesn't return a Result, instead you have to check the object with a 'valid?' call to know if it succeeded or not
I actually really like that. At my previous job we used https://github.com/AaronLasseigne/active_interaction which has somewhat similar functionality, but it doesn't return a Result, instead you have to check the object with a 'valid?' call to know if it succeeded or not
Comments
So this makes easy to respond with the correct answer depending on the result, because not all the failures are the same