This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-17
Channels
- # aws (3)
- # beginners (104)
- # boot (11)
- # calva (3)
- # clj-kondo (1)
- # cljdoc (6)
- # cljs-dev (23)
- # cljsrn (1)
- # clojure (144)
- # clojure-dev (54)
- # clojure-europe (6)
- # clojure-italy (2)
- # clojure-nl (26)
- # clojure-spec (6)
- # clojure-sweden (1)
- # clojure-uk (13)
- # clojurescript (38)
- # core-async (9)
- # cursive (14)
- # data-science (3)
- # datascript (22)
- # datomic (17)
- # figwheel (1)
- # fulcro (4)
- # graphql (6)
- # hoplon (59)
- # jackdaw (2)
- # jobs (6)
- # jobs-discuss (44)
- # juxt (14)
- # leiningen (1)
- # luminus (3)
- # nrepl (3)
- # off-topic (12)
- # re-frame (24)
- # reagent (7)
- # reitit (7)
- # rewrite-clj (1)
- # schema (1)
- # shadow-cljs (37)
- # spacemacs (4)
- # sql (25)
- # testing (12)
- # tools-deps (11)
- # utah-clojurians (1)
@iktommi I have finally gotten back to trying to level pedestal and sieppari interceptors using :error arity as you suggested. Would an ::interceptor/transform be a good choice for a place to check the arity and wrap pedestal interceptors?
#(map (fn [f] (if (> (arity f) 1) (as-sieppari f) f) %)
@colliderwriter that would be a good way to do it, but Mathieu MARCHANDISE did a PR out of that already, part of the 0.3.2 release. So, reitit is now fully compliant with Pedestal, I hope.
See https://github.com/metosin/reitit/blob/master/modules/reitit-pedestal/src/reitit/pedestal.clj for impl
are people using the new error printer? closed specs? any good? all the swagger-examples have the relevant router options defined (but commented out) to try.
for example: https://github.com/metosin/reitit/blob/master/examples/http-swagger/src/example/server.clj#L115-L118
Hi all, is there a way to prevent the encoding of a path param? also, is there a way to prevent a colon from being turned into a path param?
@iktommi I understand. I was dragged away for a while and missed some developments.