Skip to content

nullable disable not needed here#120

Merged
twogood merged 1 commit intomainfrom
nullable-disable-not-needed
Oct 24, 2025
Merged

nullable disable not needed here#120
twogood merged 1 commit intomainfrom
nullable-disable-not-needed

Conversation

@twogood
Copy link
Owner

@twogood twogood commented Oct 24, 2025

Summary by CodeRabbit

  • Refactor
    • Internal code quality improvements across the codebase with no impact to user-facing functionality or features.

@twogood twogood self-assigned this Oct 24, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 24, 2025

Walkthrough

The changes remove #nullable disable directives from 12 C# files across the Activout.RestClient project, allowing nullable reference type checking to be governed by project-wide settings instead of being explicitly suppressed at the file level.

Changes

Cohort / File(s) Summary
Attribute Classes
Activout.RestClient/AcceptAttribute.cs, Activout.RestClient/ContentTypeAttribute.cs, Activout.RestClient/FormKeyAttribute.cs, Activout.RestClient/HeaderAttribute.cs, Activout.RestClient/RouteAttribute.cs
Removed #nullable disable directive; no public API or behavioral changes
Domain Exception-Related
Activout.RestClient/DomainExceptions/DomainErrorAttribute.cs, Activout.RestClient/DomainExceptions/DomainExceptionAttribute.cs, Activout.RestClient/DomainExceptions/IDomainExceptionMapperFactory.cs
Removed #nullable disable directive; interface and class logic unchanged
Implementation Extensions
Activout.RestClient/Implementation/HeaderListExtensions.cs, Activout.RestClient/Implementation/StringExtensions.cs
Removed #nullable disable directive; no logic or signature changes
Utility Interfaces and Extensions
Activout.RestClient/IRequestLogger.cs, Activout.RestClient/RestClientBuilderExtensions.cs
Removed #nullable disable directive; control flow and API surface unchanged

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A hop through nullable lands we go,
Directives shed like morning snow,
Safety checks now run so free,
Project-wide settings for all to see!
No logic changed, just context bright—
Twelve files shining in the type-safe light!

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The pull request title "nullable disable not needed here" directly relates to the primary change in the changeset. The PR removes #nullable disable directives from 12 files across the Activout.RestClient project, and the title accurately captures this main modification. While the title could be slightly more specific about scope (it doesn't indicate the number of files affected), it is sufficiently clear and specific enough that a teammate reviewing the commit history would immediately understand the core change being made. The title avoids vague terms and directly references the nullable disable removal, making it a clear summary of the developer's intent.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch nullable-disable-not-needed

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1398d6f and 19ddfc0.

📒 Files selected for processing (12)
  • Activout.RestClient/AcceptAttribute.cs (0 hunks)
  • Activout.RestClient/ContentTypeAttribute.cs (0 hunks)
  • Activout.RestClient/DomainExceptions/DomainErrorAttribute.cs (0 hunks)
  • Activout.RestClient/DomainExceptions/DomainExceptionAttribute.cs (0 hunks)
  • Activout.RestClient/DomainExceptions/IDomainExceptionMapperFactory.cs (0 hunks)
  • Activout.RestClient/FormKeyAttribute.cs (0 hunks)
  • Activout.RestClient/HeaderAttribute.cs (0 hunks)
  • Activout.RestClient/IRequestLogger.cs (0 hunks)
  • Activout.RestClient/Implementation/HeaderListExtensions.cs (0 hunks)
  • Activout.RestClient/Implementation/StringExtensions.cs (0 hunks)
  • Activout.RestClient/RestClientBuilderExtensions.cs (0 hunks)
  • Activout.RestClient/RouteAttribute.cs (0 hunks)
💤 Files with no reviewable changes (12)
  • Activout.RestClient/DomainExceptions/DomainErrorAttribute.cs
  • Activout.RestClient/DomainExceptions/DomainExceptionAttribute.cs
  • Activout.RestClient/ContentTypeAttribute.cs
  • Activout.RestClient/Implementation/StringExtensions.cs
  • Activout.RestClient/RestClientBuilderExtensions.cs
  • Activout.RestClient/Implementation/HeaderListExtensions.cs
  • Activout.RestClient/DomainExceptions/IDomainExceptionMapperFactory.cs
  • Activout.RestClient/AcceptAttribute.cs
  • Activout.RestClient/FormKeyAttribute.cs
  • Activout.RestClient/HeaderAttribute.cs
  • Activout.RestClient/IRequestLogger.cs
  • Activout.RestClient/RouteAttribute.cs

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@twogood twogood enabled auto-merge (rebase) October 24, 2025 20:52
@twogood twogood merged commit ac42d91 into main Oct 24, 2025
8 of 9 checks passed
@twogood twogood deleted the nullable-disable-not-needed branch October 24, 2025 20:52
This was referenced Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant