Tags: JimMoen/minirest
Tags
feat: pass route path to authorize callback via HandlerInfo
Add Path parameter to do_authorize/3 so that the authorize callback
receives the route template (e.g., "/clients/:clientid") in
HandlerInfo map. This allows authorization logic to know the exact
matched route without re-implementing path matching.
HandlerInfo now contains: method, module, function, path.
No #handler{} record change — zero hot-upgrade risk.
PreviousNext