Azure / Azure/data-api-builder
[Bug]: No deserialization failure when using mcp.custom-tool with `table/view` entity
- Lingua principale
- C#
- Stelle
- 1.5k
- Fork
- 370
- Merge medio
- 3g 17h
- PR unite (30g)
- 8
Descrizione
### 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando il percorso di deserializzazione utilizzato da `dab start` per la proprietà dell'entità `mcp.custom-tool`, confrontando le entità delle stored procedure con le entità di tabella/view. Il lavoro è completato quando un'impostazione non valida `mcp.custom-tool: true` su un'entità di tabella/view causa il fallimento della deserializzazione invece di consentire la continuazione dell'avvio.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, csharp, sql
- Ambito
- databases
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 58/100