Repository navigation
Handle nullable NuGet package authors in Template Engine - #8112
Merged
Conversation
NuGet package metadata may omit authors after the nullable API update. Preserve the Template Engine model's non-null invariant by mapping a missing value to an empty string. Co-authored-by: Copilot <[email protected]> Copilot-Session: 91d53f3e-7606-4298-918f-9f42137eee85
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
Author
|
/azp run |
|
Azure Pipelines: 3 pipeline(s) were filtered out due to trigger conditions. |
martinrrm
merged commit Aug 4, 2026
6674a48
into
dotnet:darc-main-c9542adb-c747-4a9f-bd84-f193f0c19e75
3 checks passed
dotnet-maestro Bot
added a commit
that referenced
this pull request
Aug 4, 2026
[main] Source code updates from nuget/nuget.client - Merge branch 'main' into darc-main-c9542adb-c747-4a9f-bd84-f193f0c19e75 - Merge branch 'main' into darc-main-c9542adb-c747-4a9f-bd84-f193f0c19e75 - Handle nullable NuGet package authors NuGet package metadata may omit authors after the nullable API update. Preserve the Template Engine model's non-null invariant by mapping a missing value to an empty string. Co-authored-by: Copilot <[email protected]> Copilot-Session: 91d53f3e-7606-4298-918f-9f42137eee85 - Handle nullable NuGet package authors in Template Engine (#8112)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unblocks #8070.
NuGet.Client PR NuGet/NuGet.Client#7596 changed
IPackageSearchMetadata.Authorsfromstringtostring?. The Template Engine metadata model intentionally keepsAuthorsnon-nullable, so the NuGet source flow now producesCS8601when assigning the nullable value.Normalize missing authors to
string.Empty, matching the handling already used by NuGet.Client and preserving the existing non-null invariant for Template Engine consumers.A similar codeflow branch fix was used in #7849.