Fork me on GitHub
#luminus
<
2017-03-15
>
lucian30320:03:52

I'm getting a java.lang.IllegalArgumentException: db-spec [email protected] is missing a required parameter in my luminus app if I don't call mount/start in the namespace that uses HugSQL functions before calling those functions (works fine if I do). I've tried to require that namespace and the db namespace where the functions live in the appname.core namespace before requiring mount.core and calling mount.core/start-with-args in start-app. That doesn't work. Do I need to run mount.core/start in each namespace that uses mount services before using them in the namespace just to make sure mount has started the services? The docs suggest I don't, but I can't get it running with mount.core/start running only once on app init. Any ideas on how I could eliminate those extra start calls or are they ok?