You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: