Azure / Azure/data-api-builder
[Bug]: No deserialization failure when using mcp.custom-tool with `table/view` entity
- Ngôn ngữ chính
- C#
- Star
- 1.5k
- Fork
- 370
- Merge trung bình
- 3 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 9
Mô tả
### 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
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách lần theo đường dẫn giải tuần tự được `dab start` sử dụng cho thuộc tính thực thể `mcp.custom-tool`, đồng thời so sánh các thực thể stored procedure với các thực thể table/view. Được xem là hoàn tất khi một thiết lập không hợp lệ `mcp.custom-tool: true` trên một thực thể table/view khiến quá trình giải tuần tự thất bại thay vì cho phép quá trình khởi động tiếp tục.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- azure, csharp, sql
- Lĩnh vực
- databases
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 58/100