safe-get in ClojureScript
si14 opened this issue · comments
Dan Groshev commented
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
Jason Wolfe commented
Thanks for the report. Fix coming shortly!
Jason Wolfe commented
When you get a chance, can you give 0.3.5 a try and make sure it fixes things for you? Thanks again!
Dan Groshev commented
Works like a charm! Thank you.