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

refactor: replaced RequestUriMatcher with UriMatcher #110

Merged
merged 4 commits into from
Sep 7, 2024

Conversation

skwasjer
Copy link
Owner

@skwasjer skwasjer commented Sep 7, 2024

Refactored RequestUriMatcher into UriMatcher. The latter is easily reusable to add additional future matchers for (parts of) URI's, for example to match only the path, host, port, scheme (etc). Moved the (original) test coverage accordingly to the extension test fixture.

I also added the allowWildcards optional parameter to the RequestUri() extension method (default true, as this was internally already the default), to allow full coverage to carry over.

Functionally, it still behaves identical and the public API has not changed otherwise except for the aforementioned extension.

…her types of matchers that check portions of the URI, like path/route values, etc.
…dded option to disable wildcards on request URI matching.
Copy link

sonarcloud bot commented Sep 7, 2024

@skwasjer skwasjer enabled auto-merge (rebase) September 7, 2024 18:37
@skwasjer skwasjer merged commit 7c5024b into main Sep 7, 2024
12 checks passed
@skwasjer skwasjer deleted the feature/uri_matching branch September 7, 2024 18:40
@skwasjer skwasjer added the enhancement New feature or request label Sep 9, 2024
skwasjer added a commit that referenced this pull request Sep 9, 2024
…ed in #110, and claimed in PR that the public API did not change, which is not true. (#113)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant