mirror of
https://github.com/metosin/reitit.git
synced 2026-02-11 05:45:17 +00:00
Allows raw specs as parameters
This commit is contained in:
parent
0d165e799f
commit
af2d792290
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@
|
||||||
;; coercion
|
;; 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/query :reitit.core.coercion/kw-map)
|
||||||
(s/def :reitit.core.coercion/body :reitit.core.coercion/kw-map)
|
(s/def :reitit.core.coercion/body :reitit.core.coercion/kw-map)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue