mirror of
https://github.com/metosin/reitit.git
synced 2026-01-27 08:30:35 +00:00
fix docs for coerce! fixes #131
This commit is contained in:
parent
da518c9820
commit
08b2fc7bfd
1 changed files with 1 additions and 0 deletions
|
|
@ -178,6 +178,7 @@
|
||||||
(defn coerce!
|
(defn coerce!
|
||||||
"Returns a map of coerced input parameters using pre-compiled
|
"Returns a map of coerced input parameters using pre-compiled
|
||||||
coercers under `:result` (provided by [[compile-request-coercers]].
|
coercers under `:result` (provided by [[compile-request-coercers]].
|
||||||
|
Throws `ex-info` if parameters can't be coerced
|
||||||
If coercion or parameters are not defined, return `nil`"
|
If coercion or parameters are not defined, return `nil`"
|
||||||
[match]
|
[match]
|
||||||
(if-let [coercers (:result match)]
|
(if-let [coercers (:result match)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue