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 regex-style patterns in @Filter #5954

Merged

Conversation

racevedoo
Copy link
Contributor

Adds a attribute to the Filter annotation, specifying which style of
pattern to use, keeping Ant as the default (avoiding breaking changes).

Fixes #5842

@CLAassistant
Copy link

CLAassistant commented Aug 9, 2021

CLA assistant check
All committers have signed the CLA.

@racevedoo racevedoo force-pushed the filter-annotation-regex branch 2 times, most recently from 73034b4 to f117d5d Compare August 9, 2021 16:25
@racevedoo
Copy link
Contributor Author

@jameskleeh should we wait for a 3.1.x branch before merging this? what's usually done in cases like this?

@jameskleeh
Copy link
Contributor

@racevedoo Yep should be soon

@jameskleeh jameskleeh changed the base branch from 3.0.x to 3.1.x August 19, 2021 16:06
@jameskleeh
Copy link
Contributor

@racevedoo We can merge this now that we have 3.1.x, however this is missing documentation

@racevedoo
Copy link
Contributor Author

@racevedoo We can merge this now that we have 3.1.x, however this is missing documentation

Great! I'll add some documentation in this PR

Adds a attribute to the `Filter` annotation, specifying which style of
pattern to use, keeping Ant as the default (avoiding breaking changes).

Also adds proper documentation.

Fixes micronaut-projects#5842
@racevedoo
Copy link
Contributor Author

@jameskleeh just added documentation

@jameskleeh
Copy link
Contributor

Thanks for the contribution!

@jameskleeh jameskleeh merged commit dcc54cc into micronaut-projects:3.1.x Aug 23, 2021
@racevedoo racevedoo deleted the filter-annotation-regex branch August 23, 2021 14:43
@jameskleeh jameskleeh linked an issue Aug 23, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for regexes in @Filter for HttpServerFilter
3 participants