Thank you so much for this library. I love how modules have MyStruct.valid?(data). Would it be possible to have MyStruct.errors(data) get put on structs also? My reasoning is partly out of convenience but also because I would like Vex to be an implementation detail. This would make the module have the perfect api for outside callers to work with it without needing to know to call Vex.errors(a_struct). I could even do the PR for this if you guys feel its a good idea?
Thank you so much for this library. I love how modules have
MyStruct.valid?(data)
. Would it be possible to haveMyStruct.errors(data)
get put on structs also? My reasoning is partly out of convenience but also because I would like Vex to be an implementation detail. This would make the module have the perfect api for outside callers to work with it without needing to know to callVex.errors(a_struct)
. I could even do the PR for this if you guys feel its a good idea?