Closed jsg2021 closed 7 years ago
Say you have an encoded id in a route, beyond url-encoded... and you have a decode function, but you're calling it every where you pass that id... maybe we could handle it before it leaves the router?
Looks like this may be something that can be passed to the url-pattern config...
The url-pattern object couldn't directly support this, but I found that we can use the same options object to add our own filter.
Say you have an encoded id in a route, beyond url-encoded... and you have a decode function, but you're calling it every where you pass that id... maybe we could handle it before it leaves the router?