About pedestal 0.8 new connector abstraction • with-interceptor abstraction is awesome • split "with default interceptores" and "with-routes" in two distinct steps is good • why does with-routes needs to be a macro? Why not make it a simple function?
with-routes macro is a wrapper around the routes-from macro, which is an important part of a REPL-reloaded approach. Even if you could apply a macro (you can’t), doing so would lock in the routes at the point with-routes was invoked, rather than re-evaluating them on each request when in dev-mode.
But I’m glad you like it; it’s also a fresh start to carve through all the odd naming of concepts and protocols already present in Pedestal.
btw, routing protocol currently is pretty odd I'd like to have things like context, lazy routes and etc, and it is almost impossible to do with the current stuff