Skip to content

refactor(core): remove last #nullable disable in Core project#703

Merged
cct08311github merged 1 commit intodotnet10from
fix/nullable-baseimportvm-698
Mar 20, 2026
Merged

refactor(core): remove last #nullable disable in Core project#703
cct08311github merged 1 commit intodotnet10from
fix/nullable-baseimportvm-698

Conversation

@cct08311github
Copy link
Copy Markdown
Owner

Summary

Remove the final #nullable disable directive in WalkingTec.Mvvm.Core.

TemplateErrorListVM.GetSearchQuery() used #nullable disable to suppress a warning on EntityList.AsQueryable(). Since the constructor guarantees EntityList = new List<ErrorMessage>(), a null-forgiving ! is sufficient.

Result: Core project now has zero #nullable disable directives.

Test plan

  • CI build passes
  • All tests pass

Closes #698

🤖 Generated with Claude Code

TemplateErrorListVM.GetSearchQuery() — EntityList is guaranteed
non-null by constructor initialization. Use null-forgiving (!)
instead of #nullable disable block.

Core project now has zero #nullable disable directives.

Closes #698

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cct08311github cct08311github merged commit a087892 into dotnet10 Mar 20, 2026
4 checks passed
@cct08311github cct08311github deleted the fix/nullable-baseimportvm-698 branch March 20, 2026 14:32
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.

refactor(core): [P0-08] Complete nullable annotations (BaseImportVM)

1 participant