Fork me on GitHub

@ccann contents of :compile are merged to the root middleware data. If :compile returns nil, the middleware is unmounted for the route. This mean that the :spec requirement is not present either. See as a commented example


you can always ask the compiled routes from a router/ring-handlee to see what is the result after compilation. Would be nice to have a visualization (web-dev-ui) for this.


thanks, yeah so in this case i think I’ll just mount the middleware no matter what and have it produce a sane default in the case where the key itself is missing which will throw the route compilation exception anyway