This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-04
Channels
- # announcements (19)
- # babashka (11)
- # babashka-sci-dev (9)
- # beginners (71)
- # calva (25)
- # cider (1)
- # clara (36)
- # clj-kondo (47)
- # clojure (65)
- # clojure-dev (64)
- # clojure-europe (9)
- # clojure-nl (2)
- # clojure-seattle (1)
- # clojure-uk (2)
- # clojured (8)
- # clojurescript (17)
- # cursive (9)
- # data-science (36)
- # datahike (11)
- # emacs (10)
- # figwheel-main (19)
- # fulcro (15)
- # graalvm (12)
- # humbleui (5)
- # introduce-yourself (3)
- # jobs (10)
- # leiningen (4)
- # lsp (24)
- # malli (7)
- # nextjournal (23)
- # off-topic (1)
- # pedestal (2)
- # polylith (6)
- # portal (1)
- # re-frame (3)
- # reitit (2)
- # releases (2)
- # remote-jobs (1)
- # reveal (9)
- # shadow-cljs (13)
- # spacemacs (6)
- # xtdb (3)
Can anyone point me to a link/doc of customizing route compilation using customized route arguments? E.g.
(defn handlers
[]
["/resources"
{:swagger {:tags ["resources"]}}
["/pizza"
{:name ::pizza
:post {:no-doc false
:skip-authentication? true <- customized route argument
:summary "a wonderful endpoint"
:parameters {:body any?}
:responses {200 {:body any?}}
:handler pizza-handler}}]])
I understand I can access the customized route argument at runtime as part of the request processing. My interested is how I might access this argument can be accessed during route compilationMaybe this is what I am looking for: https://github.com/metosin/reitit/blob/master/doc/ring/compiling_middleware.md