Azure / Azure/data-api-builder

Update `dab.draft.schema.json` with null support for more properties to pass `dab validate`

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

説明

Creating an issue to track schema validation for nullable fields in the config file. I imagine this is an issue for any field we consider nullable. So more than just `ttl-seconds`

_Originally posted by @seantleonard in https://github.com/Azure/data-api-builder/pull/2267#discussion_r1646317383_

Need to update the `dab.draft.schema.json` and add test validating schema satisfying the null support for those columns

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

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

調査の方向性

dab.draft.schema.json から始め、既存の例として ttl-seconds を使用して、null を受け入れるべき設定プロパティを確認します。要求されたスキーマ検証テストを追加し、dab validate を実行します。nullable フィールドが検証に合格し、null 以外の値に対する検証を弱めていなければ完了です。

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

評価

技術スタック
csharp
領域
api, testing
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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