Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for passing in named parameters in url_for. #628

Open
djahandarie opened this issue Dec 12, 2018 · 0 comments · May be fixed by #3409
Open

Support for passing in named parameters in url_for. #628

djahandarie opened this issue Dec 12, 2018 · 0 comments · May be fixed by #3409
Labels
A-web project: actix-web C-improvement Category: an improvement to existing functionality

Comments

@djahandarie
Copy link

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.

@robjtede robjtede added the C-improvement Category: an improvement to existing functionality label Jan 20, 2020
@robjtede robjtede added the A-web project: actix-web label Dec 6, 2021
@Herddex Herddex linked a pull request Jun 23, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-web project: actix-web C-improvement Category: an improvement to existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants