豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

[NSJ -> STJ]Migrate RepositorySignature#7299

Draft
Nigusu-Allehu wants to merge 2 commits intodev-feature-nsj-stj-migrationfrom
dev-nyenework-repo-signature-stj
Draft

[NSJ -> STJ]Migrate RepositorySignature#7299
Nigusu-Allehu wants to merge 2 commits intodev-feature-nsj-stj-migrationfrom
dev-nyenework-repo-signature-stj

Conversation

@Nigusu-Allehu
Copy link
Copy Markdown
Member

@Nigusu-Allehu Nigusu-Allehu commented Apr 17, 2026

Bug

Fixes:
Related: NuGet/Home#14846

Description

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@Nigusu-Allehu Nigusu-Allehu changed the title Migrate RepositorySignature [NSJ -> STJ]Migrate RepositorySignature Apr 17, 2026
var dict = new Dictionary<string, string>();
while (reader.Read() && reader.TokenType == JsonTokenType.PropertyName)
{
string key = reader.GetString()!;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

There should be a comment every place the bang operator is used. It means that there is certainty that there is data for property and that allowing for the null case is an imposition.

@Nigusu-Allehu Nigusu-Allehu self-assigned this Apr 18, 2026
@Nigusu-Allehu Nigusu-Allehu force-pushed the dev-nyenework-repo-signature-stj branch from 431e3d3 to de38336 Compare April 20, 2026 16:34
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