Fork me on GitHub
#rewrite-clj
<
2021-05-06
>
mauricio.szabo17:05:18

Hi there! I'm currently in the process of migrating Chlorine/Clover to rewrite-clj instead of rewrite-cljs. There are some issues I'm seeing with Shadow-CLJS, for example, errors like:

rewrite-clj.node.protocols/value is deprecated
I'm literally only importing rewrite-clj.node...

borkdude17:05:57

@mauricio.szabo Does this happen only because of the require, or are you using some macro maybe?

mauricio.szabo17:05:46

No, I only required the namespace.

borkdude18:05:10

Not sure why it does that. Maybe @thheller in #shadow-cljs knows?

mauricio.szabo18:05:31

Yes, exactly. I'm seeing the same error: I try to import the namespace, it fails with this errors

mauricio.szabo23:05:27

Warns, but on shadow-cljs by default it'll not compile with warnings, so it's almost the same as a fail :D

mauricio.szabo23:05:26

BTW, I changed my config to ignore warnings for deprecated functions, and it works. But as what I'm writing is a library, this can pose a problem for people consuming it...