@ikitommi is there a special reasoning why :-
is required for e.g. query-params, but leads to errors if used for the body? It's pretty confusing that the handling is different from place to place
@mrchance just history. *-params
use the plumbing/letk
binding (good for asserting single params) while :body
, :query
and :headers
use let
binding (good for asserting the whole thing).
Ah, ok.. I thought it would be something along those lines. Not sure if the advantages outweigh the surprises, but probably hard to change now anyway 😉
I think it could be changed, but Colin would need to update the static analyzing part in Cursive too.
so, this would be better? :body [user :- User]
If that works oob with Cursive, it would be easy to add (just strip the :-
in the middle position)
Hm, that's probably the best way then, just make it more tolerant
do you use Cursive?
Nevar 😉 :emacs:
haha. I'll test that when at laptop
Cool, thanks
Insanely good user support as usual 🙂
The colleague who had the problem asks if he can buy you a beer somewhere
I'd be interested too, you already helped a lot in the past @ikitommi