luminus

rlander 2019-08-06T19:02:35.054100Z

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

PB 2019-08-06T19:48:39.055400Z

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"]

PB 2019-08-06T19:49:27.056300Z

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"

eskemojoe007 2019-08-06T19:53:45.058600Z

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?