-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
(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?
Metadata
Metadata
Assignees
Labels
No labels