Open FreekPaans opened 8 years ago
(bouncer/validate {:date "2016-01-01"} :date validators/datetime (:mysql fmt/formatters)) Output -> [nil {:date "2016-01-01"}] (bouncer/validate {:date "2016-01-01"} :date [[validators/datetime (:mysql fmt/formatters)]]) Output-> [{:date ("date must be a valid date")} {:date "2016-01-01" :bouncer.core/errors {:date ("date must be a valid date")}}]
From the documentation, I would've expected them to be equivalent, yet they aren't. What's going on?
From the documentation, I would've expected them to be equivalent, yet they aren't. What's going on?