doc: clarify malli body coercion doc

This commit is contained in:
Joel Kaasinen 2026-01-23 14:25:19 +02:00
parent a6b68cc3d6
commit e6e1bfd5c4
No known key found for this signature in database

View file

@ -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