Anyone else found this line/comment problematic when integrating Pedestal with the Reloaded workflow? (it's repeatedly present in the official samples and template)
;; Routes can be a function that resolve routes,
;; we can use this to set the routes to be reloadable
::server/routes #(route/expand-routes (deref #'service/routes))
I'm not getting my routes refreshed. What calls my attention is the deref
business - why would be needed at all with a proper Reloaded setup?
The thing is, under my Reloaded integration I'm not being able to have my routes refreshed at all. All other code is handled properly though.
Might be an intricacy of either my project or https://github.com/grzm/component.pedestal which I use, but also this official LOC and comment seem a bit off to me.Uhmm... in another project with a more advanced Reloaded setup I do not experience the issue. So consider this mostly a false alarm, sorry for the noise. Still, in the 'bad' project it's not obvious to me at all why the routes aren't getting reloaded, so my question would stand.