Fork me on GitHub
#malli
<
2023-12-21
>
erwinrooijakkers15:12:50

after upgrading malli and clojure and sci, I get the error :malli.core/sci-not-available when validating a schema that uses :fn, what can be wrong? project.clj went from:

[org.clojure/clojure "1.10.1"]
[borkdude/sci "0.1.1-alpha.7"]
[metosin/malli "0.3.1"]
to
[org.clojure/clojure "1.11.1"]
[org.babashka/sci "0.8.41"]
[metosin/malli "0.13.0"]

👍 1
borkdude16:12:34

@U2PGHFU5U you need to upgrade to

org.babashka/sci

borkdude16:12:53

the organization changed like ages ago :)

borkdude16:12:19

oh sorry you did that

erwinrooijakkers16:12:43

haha yes we haven’t bumped the deps in some time

borkdude16:12:14

> For ClojureScript, you need to require sci.core or malli.cherry manually.

erwinrooijakkers12:12:51

also had to add [borkdude/edamame "1.3.23"] to fix

Execution error (FileNotFoundException) at edamame.impl.parser/eval40169$loading (parser.cljc:1).
Could not locate clojure/tools/reader/impl/inspect__init.class, clojure/tools/reader/impl/inspect.clj or clojure/tools/reader/impl/inspect.cljc on classpath.
but now it works 🙂

erwinrooijakkers15:12:45

hmm maybe I just need [borkdude/sci "0.2.7"]

erwinrooijakkers15:12:51

nope, still get :malli.core/sci-not-available