Add a method in the user namespace to facilitate looking up the associated action for a route
jsonmurphy opened this issue · 0 comments
jsonmurphy commented
Currently its difficult to determine what action a particular route maps to. This makes it a bit difficult to trace the steps the application takes to resolve a route without searching all the action namespaces manually.
The solution is to provide a method that resides in the user namespace along with (reset)
etc. that allows the user to specify a route e.g. (get-route-info "/")
and returns the metadata map for a particular action.
It would also be nice to have a lookup for actions metadata in general by specifying the action id.