Closed bartkl closed 1 year ago
As discussed on Slack, this code provided by @ikitommi works fine:
(ns demo) (defn plus "adds two numbers together" {:malli/schema [:=> [:cat :int :int] :int]} [z y] (+ z y)) (require '[malli.instrument]) (malli.instrument/collect! {:ns 'demo}) ;#{{:clj {demo {plus {:schema [:=> [:cat :int :int] :int] ; :ns demo, :name plus}}}}}
But (malli.instrument/collect!) without arguments does not. It gives something like:
(malli.instrument/collect!)
Syntax error (ClassNotFoundException) compiling at ... demo
Per request I created this issue.
ikitommi: Ugh, that doesn't look right. Not using the 0-arity, it's clearly broken. ikitommi: Issue welcome, should be easy to fix
As discussed on Slack, this code provided by @ikitommi works fine:
But
(malli.instrument/collect!)
without arguments does not. It gives something like:Per request I created this issue.