Azure / Azure/data-api-builder
[Bug]: Inconsistent REST Path Validation Between `init` and `configure`
オープン
初心者向け
2.0
cli
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 370
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 9
説明
## Expected:
Both should behave the same, either reject or normalize consistently.
```
# This silently succeeds (prepends /):
dab init --database-type mssql --connection-string "test" --rest.path "noslash" --config test.json
# This correctly fails:
dab configure --runtime.graphql.path "noslash"
# fail: Path must start with a '/'
```
コントリビューションガイド
調査の方向性
`dab init` と `dab configure` コマンドのエントリーポイントから始め、issue にある両方のパス検証の挙動を再現します。`rest.path` と `runtime.graphql.path` がどこで検証されているかを追跡し、その後、関連する CLI テストまたはコマンドを実行して、両方のパスが一貫して拒否または正規化されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 65/100