Allows raw specs as parameters

This commit is contained in:
Tommi Reiman 2018-08-05 22:53:43 +03:00
parent 0d165e799f
commit af2d792290

View file

@ -74,7 +74,7 @@
;; coercion
;;
(s/def :reitit.core.coercion/kw-map (s/map-of keyword? any?))
(s/def :reitit.core.coercion/kw-map (s/or :map (s/map-of keyword? any?) :spec s/spec?))
(s/def :reitit.core.coercion/query :reitit.core.coercion/kw-map)
(s/def :reitit.core.coercion/body :reitit.core.coercion/kw-map)