reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
motform 2020-10-10T15:48:28.111900Z

I have a newbie structure question, I have a re-frame front end where routes are in the ns routes, :name are qualified keys and :view is a reagent component referred from the ns where it lives. However, I want to have links in the components with reitit.frontend.easy/href, which then requires the routes ns to use the qualified keys, creating a circular dependency. Am I structuring things wrongs? Should I match these links by something other than the :name?

motform 2020-10-10T15:52:21.112Z

I could obviously just use an unqualified key or a “group key” like :route/home , but there just feels like there is a better way of doing this.

Piotr 2020-10-10T20:40:08.113500Z

Hi, I wonder what is the idiomatic way of doing enums in swagger using reitit :thinking_face:. Cannot figure it out. Any recommendations?