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

Add support for patterns in paths #3

Open
Lol3rrr opened this issue Sep 14, 2019 · 0 comments
Open

Add support for patterns in paths #3

Lol3rrr opened this issue Sep 14, 2019 · 0 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@Lol3rrr
Copy link
Owner

Lol3rrr commented Sep 14, 2019

Right now when using custom paths it only calls the given function when the paths match exactly

This should be made a bit more generic so for example the function for the path "/users" should also be called if the requested path is "/users/".
You should also be able to add paths like "/users/*" to handle every path that matches this pattern.

Note: It should still check for the exact matches before searching for patterns to improve performance.

@Lol3rrr Lol3rrr added the enhancement New feature or request label Sep 14, 2019
@Lol3rrr Lol3rrr assigned Lol3rrr and unassigned Lol3rrr Sep 14, 2019
@Lol3rrr Lol3rrr added the wontfix This will not be worked on label Sep 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant