Rook can get confused on overlapping route specs, and build a :route-params with the wrong keys
Closed this issue · 1 comments
hlship commented
{ ...
:route-params {:payment-code "UWESHL"},
...
:context "/invoices",
:uri "/invoices/UWESHL",
:request-method :get}
This matches a standard show
function, so the key for :route-params should be :id (not :payment-code).
However, another mapping in the same namespace with the :path-spec [:put "/:payment-code/join"] seems to cause the bugs behavior.