This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
is there a known fix for clojure 1.7 + using libraries that define update themselves?
I am getting: Attempting to call unbound fn: #'clj-http.client/update
And I've "fixed" it by downgrading to clojure 1.6
@escherize: I think this is harmless warning. But you can also submit PR to lib with (:refer-clojure :exclude [update])
I should do that, @ul. I don't think its exactly harmless since the other piece of context that I'm getting is:
#error {
:cause Attempting to call unbound fn: #'clj-http.client/update
:via
[{:type java.lang.IllegalStateException
:message Attempting to call unbound fn: #'clj-http.client/update
:at [clojure.lang.Var$Unbound throwArity Var.java 43]}]
:trace
[[clojure.lang.Var$Unbound throwArity Var.java 43]
[clojure.lang.AFn invoke AFn.java 48]
[clj_http.client$wrap_decompression$fn__5010 invoke client.clj 201]
interesting, I never had this error, but have this warning, because clj-http is somewhere in transitive deps of my project
welp, so much for exclude: https://github.com/dakrone/clj-http/blob/master/src/clj_http/client.clj#L18
@tord use either [:div.foo {:display :flex} {:display :-webkit-flex}]
or [:div.foo {:display #{:flex :-webkit-flex}}]
trying to produce an environment variable map from a prismatic schema, a predicate is actually a map in schema so Ive had to add (nil? (:pred-name) to get this to work, but that feels hacky, is there a more idiomatic way of detecting when I reach into schema internals
@noprompt @tord, sweet, didn’t know about the set syntax, handy!