Is Prismatic/schema a good fit for form validation? I have never designed a form validation lib before, but I imagine it outputting something like this instead of throwing exceptions on s/validate
:
{::errors {:name [{:missing "Required field."}
{:length "Must be at least 3 characters."}]
:email [{:email "Must be a valid email address"}]}}
I'm hoping someone has used it with Compojure and Liberator, but I can't find anything online.
Found some great helpers in Dante on GitHub, but the licence for use is not clear: