Azure / Azure/data-api-builder
[Bug]: No deserialization failure when using mcp.custom-tool with `table/view` entity
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 370
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 9
説明
### What happened?
DAB is expected to fail in deserialization if we use the entity `mcp.custom-tool: true` property for an entity that is not from stored-procedures. Currently there is no failure if we use the command `dab start` and we use the property mentioned above in a `table/view` entity.
### Version
2.0.0-rc
### What database are you using?
Azure SQL
### What hosting model are you using?
_No response_
### Which API approach are you accessing DAB through?
_No response_
### Relevant log output
```Text
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
コントリビューションガイド
調査の方向性
まず、`dab start` がエンティティプロパティ `mcp.custom-tool` に使用するデシリアライズ経路を追跡し、ストアドプロシージャエンティティとテーブル/ビューエンティティを比較します。テーブル/ビューエンティティで無効な設定 `mcp.custom-tool: true` を指定した場合に、起動を続行させるのではなくデシリアライズに失敗すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, csharp, sql
- 領域
- databases
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 58/100