Closed lensgolda closed 2 years ago
There's nothing in your code that loads the family.bot.providers.weather.weather-api-com
namespace. You want to either use load-namespaces or require the namespace manually.
yep, already fix that with ig/load-namespaces
, didn't think that ig/load-namespaces
required. Unfortunately it's not so obvious from the docs beginning, where
(def system
(ig/init config [:adapter/jetty]))
and i was using load-namespaces
in my repl stuff
documentation, so it worked well.
Thanks! You can close issue. P.S. Glad if my inattention will be helpful for anyone :)
Hi James, a bit confused about i'm open this issue, have tried to play with keys and namespaces, but nothing happened, so i don't understand what i'm doing wrong. Can you help please. (maybe something with namepaces and keys)
Have an issue with no method while dispatching value
I've found same issue in duct, but looks like not my case, because haven't used any tool, plugins, config merges, only plain config edn with aero/read-config, and extending 'ig/ref for aero) Everything works fine from repl, and issue happens only for uberjar or when running with deps cli -main method like so
clj -M -m family.bot.core
orjava -cp target/family-bot-standalone.jar clojure.main -m family.bot.core
project.clj
config.edn
namespace
main ns
All code can be found here