Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(:query-params request) not keywordized? #111

Open
macalimlim opened this issue Oct 4, 2022 · 2 comments
Open

(:query-params request) not keywordized? #111

macalimlim opened this issue Oct 4, 2022 · 2 comments

Comments

@macalimlim
Copy link

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

@weavejester
Copy link
Collaborator

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).

@macalimlim
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants