Skip to content

docs: add section on nullable reference types for Mapperly#24759

Merged
EngincanV merged 2 commits intorel-10.0from
mapperly-nullable
Jan 28, 2026
Merged

docs: add section on nullable reference types for Mapperly#24759
EngincanV merged 2 commits intorel-10.0from
mapperly-nullable

Conversation

@maliming
Copy link
Member

Copilot AI review requested due to automatic review settings January 28, 2026 06:34
@maliming maliming added this to the 10.0-patch-final milestone Jan 28, 2026
@maliming maliming requested a review from EngincanV January 28, 2026 06:34
Copy link
Contributor

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

Adds documentation guidance for using Mapperly with C# nullable reference types (NRT) to help avoid null-related runtime issues during mapping.

Changes:

  • Introduces a new “Nullable Reference Types” section explaining how Mapperly interprets NRT annotations when <Nullable>enable</Nullable> is enabled.
  • Adds a short .csproj snippet and DTO example to illustrate nullable vs non-nullable properties.

@EngincanV EngincanV merged commit df82146 into rel-10.0 Jan 28, 2026
2 checks passed
@EngincanV EngincanV deleted the mapperly-nullable branch January 28, 2026 07:02
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.

3 participants