This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-14
Channels
- # beginners (74)
- # boot (1)
- # cider (6)
- # clj-kondo (8)
- # cljs-dev (30)
- # clojure (195)
- # clojure-ecuador (1)
- # clojure-europe (2)
- # clojure-italy (51)
- # clojure-nl (47)
- # clojure-spec (9)
- # clojure-sweden (27)
- # clojure-uk (63)
- # clojurescript (84)
- # cursive (41)
- # datascript (17)
- # datomic (16)
- # docker (1)
- # emacs (10)
- # events (2)
- # graalvm (2)
- # graphql (37)
- # juxt (2)
- # nrepl (20)
- # nyc (2)
- # off-topic (26)
- # onyx (3)
- # pedestal (4)
- # perun (19)
- # planck (1)
- # reagent (9)
- # reitit (4)
- # shadow-cljs (208)
- # spacemacs (6)
- # tools-deps (4)
Weird, r/routes router
returns a bunch of routes, but r/route-names
returns an empty vector, even though I have {:name ... :summary ... :handler ...}
in all my leaves
I thought route naming worked off that :name
key in route data
Oh hell... the :name
is on the same level as HTTP method?
@roklenarcic the :name
is a concept of the core router, which doesn't understand the ring submaps under method (sub)leaves. Wrote https://github.com/metosin/reitit/issues/271. Comments welcome