plumatic / plumbing

Prismatic's Clojure(Script) utility belt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

safe-get in ClojureScript

si14 opened this issue · comments

safe-get doesn't work in ClojureScript (as of 0.3.4):

 Uncaught TypeError: Cannot read property 'call' of undefined

An actual missing function is assert-iae here:

(schema/assert-iae false "Key %s not found in %s" k (mapv key m))))

In addition, ClojureScript compiler emits warnings:

WARNING: Use of undeclared Var plumbing.fnk.schema/assert-iae at line 117 file:/home/si14/.m2/repository/prismatic/plumbing/0.3.4/plumbing-0.3.4.jar!/plumbing/core.cljs

Thanks for the report. Fix coming shortly!

When you get a chance, can you give 0.3.5 a try and make sure it fixes things for you? Thanks again!

https://clojars.org/prismatic/plumbing

Works like a charm! Thank you.