Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Change: Bug fix Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3246 +/- ##
==========================================
+ Coverage 93.34% 96.22% +2.88%
==========================================
Files 43 46 +3
Lines 4735 4429 -306
==========================================
- Hits 4420 4262 -158
+ Misses 192 167 -25
+ Partials 123 0 -123 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Two Echo routers can share a map of regex rewrite rules while defining different string rules. Building the second middleware currently inserts its string rules into the caller's map, including the rules the first router already uses. The first router can then start rewriting paths configured only for the second one.
Compile the string rules into a fresh map and copy the regex rules into it. The regression starts two middleware configurations from the same map and checks the first router's responses as well as the original map.
Focused rewrite tests, the full race-enabled suite with coverage, Go vet, and formatting passed locally.