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
Locations: Create a convention for creating no-value query parameters #24
Comments
How about we instead allow to bind routes to paths like |
Could you give an example? How would you mark it no value? |
Something like |
Well that could work for some scenarios. It could be annoying if you have 3 possible "novalue", and then need to express 8 different locations. But then again it's difficult to encode everything in the path. "I want novalue with '='", I want without '='", "I want absent optionals to be like novalue", .... Perhaps it's just better to remove '=' at empty string? Then it's still dynamic. This is not the most important issue in the world. It's just the representation of the URLs (Sorry for late reply. Was on vacation) |
This issue has been automatically marked as stale because it has not had recent activity. |
If I want a URL to look like this:
/?novalue
The best I can come up with is:
Which give:
/?novalue=
The text was updated successfully, but these errors were encountered: