malli

2025-12-02T15:45:03.146839Z

malli.instrument/collect! only collects public vars. Is there currently a way to also collect private vars, and if not would there be interest in a PR to add an option to allow collecting private vars? I'd like to use :malli/schema on some private functions and get dev-time feedback about invalid arguments.

2025-12-02T15:51:10.199379Z

I see I can use (malli.instrument/-collect! #'my-var), but that's harder to automate.

opqdonut 2025-12-03T07:53:42.953729Z

I think a PR would be welcome, I don't see any reason not to support private vars.

👍 1