Feature Request: Annotate nullability
まだ誰も着手していません。
評価
調査の方向性
Start with HidSharp/Platform/Linux/LinuxHidDevice.cs around lines 120-124 and inspect the HidDevice API properties that expose strings or other nullable values. Compare the issue's two annotation options against the project's target framework and existing API conventions. Done means the public API clearly communicates which values can return null, consistently across the relevant devices and platforms.
索引モデルが issue の本文から書いたものです。
説明
As a consumer, it can be a bit unclear knowing what can return null.
If I set my IDE to pessimistic null analysis, I get potential null reference warnings in many locations, such as all string properties for HidDevice, even for properties that seemingly cannot return null:
It would be helpful to annotate this in the API, either using C#'s own #nullable feature, or by using JetBrains Annotations.
- 主要言語
- C#
- スター
- 13
- フォーク
- 16
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenTabletDriver/HIDSharpCore のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
OpenTabletDriver/HIDSharpCore#26 · コメント 2 件 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
OpenTabletDriver/HIDSharpCore の issue をすべて見る
似ている issue
-
[Doc Gap] Document new --enable-public-network-access breaking change for azurebackup vault createオープンcopilot documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
area-dashboard
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
0 - Backlog Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
BrighterCommand/Brighter#4539 ·
メンテナーはふだん 1 日以内に返信
-
area-networking
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
dotnet/aspnetcore#69671 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Ignored test: FileLocalDataSourceTests.retries_loading_file対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンtest
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NethermindEth/nethermind#14274 ·
メンテナーはふだん 1 日以内に返信