Fork me on GitHub
#clojure-spec
<
2019-12-09
>
frederic01:12:07

Converting to spec 1 fixed my problem. I must have run into some corner case that wasn't covered yet.

arohner15:12:59

I have a multi-spec which works fine, but for a test I want to gen messages of a single type. If I do (defmethod my-spec ::foo [_] ::foo), then the messages are missing retag. If I include the retag key in ::foo, the keys are auto-generated and don’t correspond to the message type. What’s the best way to make the correct retag show up in the individual messages?

Alex Miller (Clojure team)17:12:44

if you hit the backchannel here, several people have walked through this recently - zulip has the archive