mirror of
https://github.com/metosin/reitit.git
synced 2026-01-01 14:18:25 +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
|
||||
;;
|
||||
|
||||
(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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue