This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-05
Channels
- # bangalore-clj (1)
- # beginners (50)
- # boot (72)
- # cider (53)
- # cljs-dev (303)
- # cljsrn (2)
- # clojure (403)
- # clojure-conj (3)
- # clojure-dev (7)
- # clojure-italy (18)
- # clojure-russia (129)
- # clojure-sg (1)
- # clojure-spec (44)
- # clojure-uk (25)
- # clojurescript (112)
- # core-async (4)
- # core-typed (3)
- # cursive (23)
- # datomic (114)
- # defnpodcast (1)
- # emacs (1)
- # figwheel (2)
- # graphql (18)
- # hoplon (110)
- # instaparse (6)
- # jobs (3)
- # jobs-discuss (10)
- # leiningen (5)
- # luminus (1)
- # lumo (151)
- # off-topic (22)
- # om (3)
- # om-next (3)
- # onyx (4)
- # parinfer (1)
- # pedestal (8)
- # precept (51)
- # re-frame (19)
- # reagent (3)
- # ring (1)
- # ring-swagger (5)
- # spacemacs (21)
- # sql (25)
- # test-check (2)
- # uncomplicate (8)
- # unrepl (33)
- # untangled (20)
- # yada (14)
Yada startup isn't very quick is it. I wonder, how do the leiningen folks typically address that for quick development turnaround?
I use Stuart Sierra's reloaded workflow. Typically dev turnaround is subsecond
@matan I use reloaded.repl myself ( https://github.com/weavejester/reloaded.repl ), but there may be another setup in edge ( https://github.com/juxt/edge ). Yes, reloading is pretty quick (in fact one of the reasons I switched from pedestal to yada)
Edge uses weavejester's reloaded.repl
By the way, should I open an issue for these: - https://clojurians.slack.com/archives/C0702A7SB/p1498915768699940 - https://clojurians.slack.com/archives/C0702A7SB/p1498920492028993 or did I miss something?
@nha please do
I am a bit confused by the first one
Yada handlers and Ring handlers are not complimentary
A yada handler is a Ring handler, almost. The only difference is the async response
Do you mean that this should work?
(yada/resource
{:methods
{:get
{:produces …
:response (fn [ctx] (my-ring-handler ctx))}}})
Not quite. That would render as a map. You would need to merge the ring-handler response with the (:response ctx)