mirror of
https://github.com/metosin/reitit.git
synced 2026-01-24 15:19:01 +00:00
doc: clarify malli body coercion doc
This commit is contained in:
parent
a6b68cc3d6
commit
e6e1bfd5c4
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ In contrast, the `:body` coercion:
|
||||||
1. Uses the specified schema
|
1. Uses the specified schema
|
||||||
* depending on the coercion, it can be configured as open or closed, see specific coercion docs for details
|
* depending on the coercion, it can be configured as open or closed, see specific coercion docs for details
|
||||||
2. Does not keywordize the keys of the input before coercion
|
2. Does not keywordize the keys of the input before coercion
|
||||||
* however, coercions like malli do the keywordization in the coercion stage anyway
|
* however, coercions like malli might do the keywordization when coercing json bodies, depending on configuration
|
||||||
|
|
||||||
This admittedly confusing behaviour is retained currently due to
|
This admittedly confusing behaviour is retained currently due to
|
||||||
backwards compatibility reasons. It can be configured by passing
|
backwards compatibility reasons. It can be configured by passing
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue