This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
hello, i will try to use clojurespirt for single page app, can you give me advice for choice, i found om and reagent, which is to try to start
is "routes" a keyword in Clojure ? Just tracked down a weird bug that seems to be fixed by renaming a variable
hmm so strange, if I rename build-routes to routes here I get "compojure.core$routes$fn__5152 cannot be cast to clojure.lang.Associative" https://github.com/weavejester/duct/blob/master/duct/src/duct/component/endpoint.clj
the error gives a hint,
routes it appears that resolves to something in Compojure core
@dnolen: Hmm but if Compojure isn't being pulled into this namespace how could this happen? I get the feeling I'm overlooking something obvious.
@timfield that conclusion seem unlikely. If you are at a REPL perhaps you had some interactions that loaded something from Compojure at some point into your ns. Without seeing code hard to say.