actix-web icon indicating copy to clipboard operation
actix-web copied to clipboard

Support for passing in named parameters in url_for.

Open djahandarie opened this issue 6 years ago • 0 comments

Right now url_for takes an iterator of &strs as input, and fills out the resource parameters in order.

It'd be nice if there was a related function which took an iterator over (&str, &str) key-value pairs and filled out the resource parameters using their keys.

djahandarie avatar Dec 12 '18 19:12 djahandarie