This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-07
Channels
- # babashka (7)
- # beginners (218)
- # boot (1)
- # chlorine-clover (2)
- # cider (36)
- # cljsrn (8)
- # clojure (71)
- # clojure-dev (9)
- # clojure-europe (11)
- # clojure-france (1)
- # clojure-italy (5)
- # clojure-nl (5)
- # clojure-uk (24)
- # clojurescript (9)
- # conjure (16)
- # cursive (65)
- # datomic (76)
- # devcards (21)
- # emacs (1)
- # etaoin (1)
- # figwheel-main (47)
- # fulcro (37)
- # hyperfiddle (9)
- # java (2)
- # kaocha (1)
- # malli (11)
- # music (14)
- # observability (8)
- # off-topic (32)
- # re-frame (13)
- # reagent (2)
- # reitit (5)
- # ring (3)
- # shadow-cljs (40)
- # slack-help (17)
- # spacemacs (15)
- # tools-deps (5)
- # xtdb (16)
We were discussing these days with @josh604 about how reitit.frontend.history
requires a “real” Router protocol implementation which means that having a nice REPL workflow is kinda hard — if you change your router (say by adding new routes) you have to either reload your entire state (starting/stopping controllers) or reach inside the history record and replace the router there. Contrast that with say Pushy which has just a match-fn
that is much more flexible in that extend. It looks that reitit.frontend.history
only uses the match-by-path
function anyway.
Not sure if I have anything concrete to propose at this point. We have a workaround by implementing reitit.core/Router in a REPL-friendly way (proxying the calls to an actual instance we can redefine).
Hi, how do I add an authorization header to my Swagger UI (see below)? I have been trying to use this https://swagger.io/docs/specification/2-0/authentication/basic-authentication/, but have had no luck in getting it to work with Reitit.
Found the answer (that was previously discussed here): https://stackoverflow.com/questions/61469164/how-do-i-get-swagger-ui-to-let-me-provide-authentication-header