Replace static parameters in route pattern for telemetry - #2
Conversation
WalkthroughThis PR refactors route pattern debug string formatting by extracting logic from RoutePattern into a new centralized RoutePatternDebugStringFormatter class. Additionally, constraint rendering is enhanced to properly format regex constraints, and comprehensive tests are added to validate the formatter behavior. Changes
Estimated Code Review Effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
🧰 Additional context used🧬 Code graph analysis (2)src/Mvc/Mvc.Core/test/ApplicationModels/EndpointMetadataProviderTest.cs (1)
src/Http/Routing/src/Patterns/RoutePattern.cs (2)
🔇 Additional comments (12)
✏️ Tip: You can disable this entire section by setting Comment |
Benchmark PR from qodo-benchmark#20
Summary by CodeRabbit
Refactor
Tests
✏️ Tip: You can customize this high-level summary in your review settings.