is there any post about mount start order?
i read this, but it seems doesn’t explain clearly
clojure compiler does most of the magic
how can i control the order?
during app startup i specify the order but usually my mount states are separate so i don't have to think about that if you are looking for more control use component framework but i dont like it
in my case, i want to connect db first, then update something from db in interval seconds
create two states and (start db) (start interval) i had something similar and never had an issue
I just generated a new luminus project with a swagger backend after being away for a while and it looks... different... the endpoints look like
["/ping"
{:get (constantly (ok {:message "pong"}))}]
is there documentation for the changes?I used to have GET as a function, not :get, for example.
my main issue right now is getting my response as json as opposed to an octet stream for download.
but I think the docs refer to the old version.
my endpoint looks like:
["/foo"
{:get (constantly (ok (json/write-str (slurp "resources/public/data.json"))))}]
and it's returning as an octet stream download in the response.any thoughts?