In the browser, you are able to do mywebsite.com?param and param shows up as a query param with an empty string, but when using compojure param doesn't show up in :query-params.
Doing mywebsite.com?param= gives the query-params of {:param ""} which is expected, but then if you do mywebsite.com?param=1¶m2 you get {:param 1, :param2 nil}.
It feels a little inconsistent, and I would like to be able to use mywebsite.com?param.
Hi!
In the browser, you are able to do
mywebsite.com?param
andparam
shows up as a query param with an empty string, but when using compojureparam
doesn't show up in:query-params
.Doing
mywebsite.com?param=
gives the query-params of{:param ""}
which is expected, but then if you domywebsite.com?param=1¶m2
you get{:param 1, :param2 nil}
.It feels a little inconsistent, and I would like to be able to use
mywebsite.com?param
.I am using
1.6.0
.