Azure / Azure/data-api-builder
[Improvement]: Mappings are ignored when using stored procedures
- Lingua principale
- C#
- Stelle
- 1.5k
- Fork
- 370
- Merge medio
- 3g 22h
- PR unite (30g)
- 9
Descrizione
### What happened?
When REST enabling a stored procedure and using a mapping, it is ignored and an error is returned where it cannot find the column name. For example I have a stored procedure with 2 inputs name and job. If i put into the mapping that name is full_name, and pass full_name to the stored procedure, it cannot find that column where in a table, it would map full_name to name.
### Version
0.8.52
### What database are you using?
Azure SQL
### What hosting model are you using?
Local (including CLI), Static Web Apps (SWA)
### Which API approach are you accessing DAB through?
REST
### Relevant log output
_No response_
### 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
Nessun file, test o punto di ingresso è indicato. Inizia riproducendo la richiesta REST della stored procedure con un mapping Azure SQL in cui full_name viene mappato su name, quindi traccia come vengono risolti i mapping per le stored procedure rispetto alle tabelle. Il lavoro è completato quando l'input mappato viene accettato e un test di regressione copre questo comportamento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, csharp, sql
- Ambito
- api, backend, databases
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100