@judofyr This looks fantastic! It has a big FP feel to it. The fun parts, not the weird parts. :-)
@jgaskins it's beginning to fall into place now. this is based on ideas I've had floating around in various projects for years.
@judofyr keen to see more of this!
@judofyr Looks good!
@judofyr Is it a gem? Or something ad-hoc?
@art_codesmith working on it here: https://github.com/judofyr/ippon/pull/1. current docs: https://www.rubydoc.info/github/judofyr/ippon/3fb527/Ippon/Validate
@judofyr Wow, looking good!
@art_codesmith thanks. quite a lot of docs required, but it's starting to take shape now. I'm aiming for a release (or semi-release) before Oct 25
@art_codesmith feel free to try it out:
gem 'ippon', github: 'judofyr/ippon', branch: 'composable-validate'
I would love some feedback :)
@judofyr looks pretty nice. I like this API better than dry-validation.
the cool part here is that it is easy to combine validations for various use cases. here's an example for "Change password" where you keep the same password if you don't fill in any password:
(syntax may be subject to change)