Fork me on GitHub

say I have an endpoint that's configured to receive the following:

:parameters {:form :login/credentials}
where :login/credentials is defined as
(s/def :login/email
  (st/spec {:spec string?}))

(s/def :login/password
  (st/spec {:spec string?}))

(s/def :login/credentials
  (st/spec {:spec (s/keys :req [:login/email
and I have followed the ring coercion guide ( Am I wrong to assume that :parameters in the request map coming from a conforming request such as
[email protected]&password=supersecret!
should be coerced into
{:login/email "" :login/password "supersecret!"}
? Reason I'm asking is that I'm currently getting unqualified keywords:
{:email "[email protected]" :password "supersecret!"}
and I'm not sure whether it's a mismatch in my expectation or a misconfiguration at some point