reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
jaime 2020-06-26T17:08:32.179400Z

Is it intentional that spec-tools' string-transformer does not coerce integer to double ?

(s/def ::iam-double double?)
(st/coerce ::iam-double 500 st/string-transformer) ;; 500  -- still integer
(st/coerce ::iam-double "500" st/string-transformer) ;; 500.0 -- string to double