duct icon indicating copy to clipboard operation
duct copied to clipboard

(:query-params request) not keywordized?

Open macalimlim opened this issue 1 year ago • 2 comments

The title says it all. the result map I get from (:query-params request) is not keywordized. Should this be keywordized by default?

macalimlim avatar Oct 04 '22 21:10 macalimlim

The wrap-keywords middleware only keywordizes :params. This is so that you can access the parameters conveniently via :params, but access them more exactly via :query-params (and :form-params).

weavejester avatar Oct 04 '22 21:10 weavejester

Just curious, what is the reason why (:query-params) is not keywordized by default?

macalimlim avatar Oct 04 '22 21:10 macalimlim