Fork me on GitHub
#luminus
<
2019-08-06
>
rlander19:08:35

Could anyone explain to me why the :params key is alway empty in a default Luminus template?

PB19:08:39

I've been looking at the documentation found here: http://www.luminusweb.net/docs Can anyone let me know how, if I wanted to build a jar for an environment that wasn't production I would do so. I see the uberjar profile has only these source paths:

:source-paths ["env/prod/clj"]
             :resource-paths ["env/prod/resources"]

PB19:08:27

I am afraid with how the directory stucture works that including other paths such as "env/dev/clj" would overwrite the shared files (duplicate files) found in "env/prod/clj"

eskemojoe00719:08:45

Within luminus, the user namespace has restart-db to recompile the hugsql queries without having to restart. Very convenient for updating and testing new queries. However, I added some clojure to the queries like hugsql says you can, and now restart-db give the error: Syntax error (ClassCastException) compiling at (REPL:1:1). clojure.lang.Symbol cannot be cast to clojure.lang.Namespace. All I added to cause the error is:

/*~(if (:email params) */
and users.email = :email
/*~*/
and accounts.user_name = :user_name
/*~ ) */
Any of you run into something similar?