Open ustun opened 7 years ago
Are there any plans to add coercion for fields? For example, the following fails:
(validate {:id "1"} {:id [v/positive v/number]})
Something like this could work:
(validate {:id "1"} {[:id :number] [v/positive v/number]})
Are there any plans to add coercion for fields? For example, the following fails:
(validate {:id "1"} {:id [v/positive v/number]})
Something like this could work:
(validate {:id "1"} {[:id :number] [v/positive v/number]})