Closed sethladd closed 11 years ago
Functionality like this is coming in the 0.5 branch which uses UriTemplates and named parameters.
What are "route options"?
options are the name/values pulled from the URL. There's probably a better name.
Yes, those are query parameters. UriTemplate does a much better job at this.
Marking as fixed, looks like new version of route has what I need.
Something like this is common in other routing packages:
So I can get this:
That would be great. :)
Also, I'd love to get the route options in the handler callback. Parsing it again feels weird, especially since that forces me to pull the pattern out as a variable. And I'm sure the URL was already parsed to find a match.