Skip to content

Update FQMN for NRT#27

Merged
viceroypenguin merged 1 commit into
mainfrom
nrt
Jun 1, 2026
Merged

Update FQMN for NRT#27
viceroypenguin merged 1 commit into
mainfrom
nrt

Conversation

@viceroypenguin
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 1, 2026 21:31
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
...ate.Injections.Generators/DisplayNameFormatters.cs 100.00% <100.00%> (ø)
...nerators/ImmediateInjectionsGenerator.Transform.cs 96.14% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the source generator’s fully-qualified type-name formatting to preserve nullable reference type (NRT) annotations when rendering service/implementation types in generated DI registrations.

Changes:

  • Introduce DisplayNameFormatters.FullyQualifiedWithNullableFormat (FullyQualified + IncludeNullableReferenceTypeModifier).
  • Switch registration/type rendering in ImmediateInjectionsGenerator.Transform to use the new formatter for service types and implementation type arguments.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Immediate.Injections.Generators/ImmediateInjectionsGenerator.Transform.cs Uses the new nullable-aware fully-qualified formatting when storing service/implementation type strings for rendering.
src/Immediate.Injections.Generators/DisplayNameFormatters.cs Adds a new SymbolDisplayFormat intended to include nullable reference modifiers in fully-qualified type names.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Immediate.Injections.Generators/DisplayNameFormatters.cs
@viceroypenguin viceroypenguin merged commit 4e4c7d1 into main Jun 1, 2026
3 checks passed
@viceroypenguin viceroypenguin deleted the nrt branch June 1, 2026 21:35
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.

2 participants