-
Notifications
You must be signed in to change notification settings - Fork 0
[release/10.0] Fix ModelMetadata null reference exception in emitted XMLComment transformers #23
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
base: coderabbit_combined_20260121_augment_sentry_coderabbit_1_base_release_100_fix_modelmetadata_null_reference_exception_in_emitted_xmlcomment_transformers_pr92
Are you sure you want to change the base?
[release/10.0] Fix ModelMetadata null reference exception in emitted XMLComment transformers #23
Conversation
…ment transformers When a route parameter does not have a bound model it would case a null reference exception because the ModelMetadata on the ParameterDescriptor was null. This is fixed by adding a null reference check Fixes dotnet#63757
As I think this was the encoding before my change
WalkthroughA new test method validates route parameter descriptions from controller actions. Multiple test snapshot files are updated with null-checks before accessing metadata properties. One substantial snapshot file introduces comprehensive XML comment support infrastructure for the OpenAPI source generator, including transformers, documentation ID helpers, and caching logic. 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 ignored due to path filters (1)
📒 Files selected for processing (10)
🔇 Additional comments (10)
✏️ Tip: You can disable this entire section by setting Comment |
Benchmark PR from qodo-benchmark#92
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Tests
✏️ Tip: You can customize this high-level summary in your review settings.