Fork me on GitHub
#clj-kondo
<
2021-12-03
>
chrisn19:12:32

Codegen worked. I tested everything (both codegen and updated clj-kondo resource hooks) with avclj. For things that are public-api facing, I think codegen hits the widest possible audience. Internal to my libraries, I will now publish clj-kondo hooks with the libraries themselves. Codegen via ns-publics, btw, was https://github.com/cnuernber/dtype-next/blob/master/src/tech/v3/datatype/export_symbols.clj#L72 - and produces https://github.com/cnuernber/dtype-next/blob/master/src/tech/v3/datatype.clj.

borkdude19:12:04

Awesome! Yes, I think it's the most reliable method.

borkdude19:12:29

Unless you use something like the potemkin macro which enumerate all the var names explicitly

borkdude19:12:49

That one is relatively easy to support via hooks (we already have a built-one for it)

borkdude19:12:03

But code-gen surely works and needs nothing extra