This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-10
Channels
- # announcements (4)
- # beginners (116)
- # boot (4)
- # calva (63)
- # cider (8)
- # clara (20)
- # cljdoc (10)
- # cljsrn (69)
- # clojure (115)
- # clojure-austin (1)
- # clojure-dev (4)
- # clojure-finland (1)
- # clojure-italy (3)
- # clojure-nl (6)
- # clojure-russia (10)
- # clojure-uk (84)
- # clojurescript (28)
- # cursive (14)
- # data-science (1)
- # datascript (1)
- # datomic (11)
- # duct (3)
- # emacs (13)
- # figwheel-main (11)
- # fulcro (4)
- # graphql (6)
- # jackdaw (2)
- # jobs (23)
- # jobs-rus (1)
- # kaocha (11)
- # lein-figwheel (13)
- # leiningen (55)
- # luminus (14)
- # lumo (22)
- # off-topic (121)
- # pathom (19)
- # re-frame (6)
- # reagent (3)
- # reitit (22)
- # remote-jobs (10)
- # ring-swagger (1)
- # shadow-cljs (67)
- # slack-help (5)
- # spacemacs (1)
- # sql (18)
- # vim (28)
- # yada (2)
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?