Repository navigation
fix(dotnet): make AdditionalProperties null-safe in model Equals template - #735
Conversation
…late ## Description Updates the .NET model equality template to safely check `AdditionalProperties` for null using `object.ReferenceEquals` before accessing `.Count`. ## Related Issues - openfga/dotnet-sdk#124 - openfga/dotnet-sdk#239
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe .NET model template now handles identical and null Changes.NET model equality
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change makes model equality safe when AdditionalProperties is null, with no newly identified merge-blocking risk. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🧪 Generate unit tests (beta)
🛠️ Fix failing CI checks 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
SoulPancake
left a comment
There was a problem hiding this comment.
LGTM
Thanks a lot @ayushpathak75
Description
Updates the .NET model equality template to safely check
AdditionalPropertiesfor null usingobject.ReferenceEqualsbefore accessing.Count.Related Issues
Summary by CodeRabbit