This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-19
Channels
- # aws-lambda (4)
- # beginners (62)
- # cider (20)
- # cljs-dev (9)
- # cljsrn (13)
- # clojars (3)
- # clojure (105)
- # clojure-brasil (1)
- # clojure-denver (1)
- # clojure-finland (4)
- # clojure-italy (23)
- # clojure-norway (1)
- # clojure-spec (6)
- # clojure-uk (56)
- # clojurescript (41)
- # cursive (10)
- # datomic (25)
- # emacs (23)
- # figwheel (2)
- # fulcro (133)
- # graphql (12)
- # hoplon (32)
- # instaparse (13)
- # keechma (1)
- # lein-figwheel (1)
- # luminus (1)
- # lumo (1)
- # nyc (2)
- # off-topic (34)
- # om (2)
- # onyx (10)
- # pedestal (8)
- # portkey (1)
- # re-frame (10)
- # reagent (26)
- # ring (8)
- # shadow-cljs (77)
- # spacemacs (4)
- # sql (8)
- # tools-deps (15)
- # vim (9)
Hi all, I'm using ring-instrument
and am hitting the following error:
Wrong number of args (3) passed to: instrument/eval25027/instrument--25028/fn--25029
I basically added ring-instrument to this proj: https://github.com/metosin/c2
@mping c2 uses ring-async, which requires middleware to be 3-arity. ring-instrument
doesn’t support that I guess? Where is the code for it?
@ikitommi ring instrument is here: https://github.com/metrics-clojure/metrics-clojure/blob/master/metrics-clojure-ring/src/metrics/ring/instrument.clj
@mping yeah, it's sync only. Adding async support is easy, here's an example: https://github.com/ring-clojure/ring/wiki/Concepts#middleware