-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Enable nullable reference types and improve null handling across multiple files #630
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: master
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughEnables nullable reference types globally via Directory.Build.props, removes per-project Nullable setting from QRCoder.csproj, updates console and demo apps for null-safe handling and minor UI change, and adjusts tests to use null-forgiving operators and safer null checks. One helper adds a null-safe assembly location fallback. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant Program as Console Program
participant QR as QR Generator
User->>Program: Provide text and outputFileName
alt text != null AND outputFileName != null
Program->>QR: Generate QR from text
QR-->>Program: Bitmap
Program-->>User: Save to outputFileName
else missing input/path
Program-->>User: Skip generation / exit
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (8)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧬 Code graph analysis (2)QRCoderTests/QRGeneratorTests.cs (1)
QRCoderDemo/Form1.cs (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (12)
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 |
No changes to public API -- NRT was already enabled there.
Summary by CodeRabbit