Hi everyone,
how can i use support auto-reload for reitit pedestal ?
i was using ns-tracker to achieve that:
(defonce modified-namespaces (ns-tracker ["src"]))
::server/routes #(do
(doseq [ns-sym (modified-namespaces)]
(require ns-sym :reload))
(route/expand-routes (deref #'service/routes)))
i have another issue
i have tried the example at reitit/examples/pedestal-swagger
but it got an error when i provide value which not match the schema defined, how can i make that prettier, like bad request with simple error message
the current i got 500 internal server error