-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
feat(middleware): Warn about greedy exclude patterns #3700
Conversation
b81d113
to
5d8dbbc
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3700 +/- ##
=======================================
Coverage 98.28% 98.28%
=======================================
Files 329 329
Lines 14965 14973 +8
Branches 2382 2383 +1
=======================================
+ Hits 14708 14716 +8
Misses 116 116
Partials 141 141 ☔ View full report in Codecov by Sentry. |
Quality Gate passedIssues Measures |
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3700 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm appart from all those newlines
Raise a warning when a middlewares
exclude
pattern greedily matches all paths.Also document this footgun more prominently.