Can not specify multiple different coercer
Closed this issue · 2 comments
reedho commented
This works:
(ataraxy.core/compile*
{["/api" #{id nr}] [:api ^int id ^int nr]}
{})
;; => #object[ataraxy.core$eval22261$reify__22282 0x2ac04962 "ataraxy.core$eval22261$reify__22282@2ac04962"]
But If more than one symbol in the result be tagged with different coercer, route compile will fail.
(ataraxy.core/compile*
{["/api" #{id nr}] [:api ^int id ^uuid nr]}
{})
Error shown is:
Syntax error compiling fn* at (*cider-repl testx:localhost:64895(clj)*:29:1).
Cause: Unable to resolve classname: uuid
weavejester commented
Thanks for the report! I tracked it down to the tag metadata on symbols not being removed.
reedho commented
Thanks for the report! I tracked it down to the tag metadata on symbols not being removed.
Awesome. Thank you.