Fork me on GitHub
#malli
<
2019-11-18
>
danielgrosse06:11:45

Hi, when adding the latest ref from malli in the deps.edn and starting a repl, I've got this error:

error in process sentinel: Could not start nREPL server: Error building classpath. Unable to compare versions for borkdude/edamame: {:mvn/version "0.0.8-alpha.4", :deps/manifest :mvn} and {:git/url "", :sha "34755e7a875fae2ab4d64e6be89b6270046a91a3", :deps/manifest :deps, :deps/root "/Users/xxx/.gitlibs/libs/borkdude/edamame/34755e7a875fae2ab4d64e6be89b6270046a91a3"}

danielgrosse06:11:17

Any tips how I could solve this?

ikitommi06:11:05

@danielgrosse fixed that on master - for edamame, it uses now the “0.0.8-alpha.4” version. DEPS doesn’t know which one is latest that or the SHA (which was later).

ikitommi06:11:08

➜  ~ clj -Sdeps '{:deps {metosin/malli {:git/url ""
                                        :sha "e2ff736ff923c676de655b853180be2503715d88"}}}'
Checking out:  at e2ff736ff923c676de655b853180be2503715d88
Clojure 1.10.1
user=>

ikitommi06:11:42

Not sure if that is a transitive dependency bug of deps, or just a feature.

ikitommi06:11:51

@pithyless master uses the latest version of sci, so [:map [:handler [:fn 'fn?]]] should work now.

metal 4
danielgrosse06:11:16

Thanks for the fast fix. :thumbsup:

ikitommi06:11:55

It was an easy fix 😉

ikitommi06:11:03

btw my next steps are to finish :multi schema and the pretty error printer btw, both 80% done.

danielgrosse06:11:33

Cool. Keep up the great work.

4
ikitommi06:11:12

recursive schemas & support for local registries might come via this PR https://github.com/metosin/malli/pull/117#issuecomment-554737541

eskos09:11:32

Tangential thought on documentation, would absolutely love to see documentation like this for malli eventually: https://pomb.us/build-your-own-react/ scroll a bit to see what I mean - the library behind that is https://github.com/pomber/code-surfer/blob/code-surfer-v2/readme.md

ikitommi12:11:14

@suomi.esko feel free to build the docs. looks good, despite not being interactive.

eskos17:11:08

I’ll try to give this a swing when I get some free time just to see if the idea actually works.

eskos17:11:21

Gives me a good excuse to really dive into malli as well 🙂

ikitommi18:11:34

looking forward to seeing the new docs ;)

eskos06:11:12

they might end up being trash ¯\(ツ)/¯ but then we’ll know why