This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-05
Channels
- # announcements (1)
- # asami (1)
- # babashka (7)
- # beginners (11)
- # biff (2)
- # calva (7)
- # cider (1)
- # clara (5)
- # clj-kondo (223)
- # clojure (83)
- # clojure-boston (3)
- # clojure-conj (1)
- # clojure-europe (9)
- # clojure-uk (1)
- # clojurescript (11)
- # cursive (76)
- # emacs (30)
- # figwheel-main (2)
- # fulcro (13)
- # hyperfiddle (6)
- # lsp (6)
- # malli (2)
- # nyc (4)
- # off-topic (78)
- # practicalli (9)
- # reitit (4)
- # sci (20)
- # shadow-cljs (49)
- # sql (9)
- # xtdb (5)
I want to generate routes at runtime like in this example (beer routes): https://cljdoc.org/d/metosin/reitit/0.6.0/doc/advanced/composing-routers#when-to-use-nested-routers Are the following assumptions correct? • If I want to do this with ring handler that I directly pass to jetty or aleph, then I would have to restart the server • In order to achieve it I would need to write a ring handler that dereferences the generated handler or router (?) that I can then call pass the request. Apparently there is a todo at the end of the docs that mentions this. So I assume this is a very common case. If I my assumptions are correct or I find a better answer then I wouldn't mind to contribute a section in the docs!