FAQ Database Discussion Community


How does one configure sibling Pedestal routes so that all are accessible when using :constraints?

clojure,pedestal
I am creating a toy Pedestal service intended to have the following resources: / /movies /movies/today /movies/:iso-date where :iso-date matches ####-##-## The constraint for the last route is defined with the following snippet: ^:constraints {:iso-date #"\d{4}-\d{2}-\d{2}"} Whenever the route containing this constraint is present in the route table I am...