-
-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Description
What is the problem this feature will solve?
With this support we can increase the spread of ada-url. The library is really fast, but by adding a route matching feature for url, it can be a really inclusive library.
What is the feature you are proposing to solve the problem?
Here is my proposed solution:
/users/:id/friends with “:/” separated by the character “:/” to enable route matching. Of course, there may be more specific examples like
“{id}”,“[a-zAz]”
What alternatives have you considered?
Since this suggestion is usually found in router libraries, it is difficult to give a specific reference, but I have listed an example of its use below
- :path-variable
- {path-variable}
- regex
benstadin
Metadata
Metadata
Assignees
Labels
No labels