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

Support URLPattern as request predicate #1921

Open
1 task
kettanaito opened this issue Dec 11, 2023 · 0 comments · May be fixed by #2209
Open
1 task

Support URLPattern as request predicate #1921

kettanaito opened this issue Dec 11, 2023 · 0 comments · May be fixed by #2209
Assignees
Labels
Milestone

Comments

@kettanaito
Copy link
Member

Scope

Adds a new behavior

Compatibility

  • This is a breaking change

Feature description

As soon as URLPattern gets globally supported, we should support it as the input to the request handlers.

http.get(new URLPattern('https://example.com/:resource'), resolver)

We can also migrate to represent the request matching using the URLPattern instances instead of relying on path-to-regexp and a custom matchRequestUrl function.

@kettanaito kettanaito linked a pull request Jul 18, 2024 that will close this issue
2 tasks
@kettanaito kettanaito self-assigned this Sep 26, 2024
@kettanaito kettanaito added this to the 3.0 milestone Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant