Fork me on GitHub
#reitit
<
2019-05-14
>
roklenarcic15:05:47

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

roklenarcic15:05:16

I thought route naming worked off that :name key in route data

roklenarcic15:05:48

Oh hell... the :name is on the same level as HTTP method?

ikitommi16:05:12

@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