Azure / Azure/data-api-builder

Enable nullable context for the tests

オープン
#1,832 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
1.5k
フォーク
370
平均マージ
3日 22時間
マージ済み PR(30日)
9

説明

the test project doesnt have "nullable" context enabled. So, I couldnt do the suggested. Enabling nullable context for test project will be a refactoring issue in itself.

It errors:

> Severity Code Description Project File Line Suppression State
> Error CS8632 The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. 1576 Active

_Originally posted by @Aniruddh25 in https://github.com/Azure/data-api-builder/pull/1823#discussion_r1367129556_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

テストプロジェクトの構成を特定し、nullable annotations が現在どのように扱われているかを確認します。そのテストプロジェクトで nullable context を有効にしてから、ビルドするかテストを実行し、CS8632 エラーが解消され、新たな失敗が発生していないことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
testing-qa
issue の種類
リファクタリング
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。