Azure / Azure/data-api-builder
[Improvement]: Mappings are ignored when using stored procedures
- Vorherrschende Sprache
- C#
- Sterne
- 1.5k
- Forks
- 370
- Ø Merge
- 3 T. 22 Std.
- Gemergte PRs (30 T.)
- 9
Beschreibung
### 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
Beitragsleitfaden
Rechercherichtung
Es wird keine Datei, kein Test und kein Einstiegspunkt genannt. Beginne damit, die REST-Anfrage für die gespeicherte Prozedur mit einem Azure SQL-Mapping zu reproduzieren, bei dem full_name auf name abgebildet wird, und verfolge anschließend, wie Mappings für gespeicherte Prozeduren im Vergleich zu Tabellen aufgelöst werden. Als erledigt gilt, wenn die gemappte Eingabe akzeptiert wird und ein Regressionstest dieses Verhalten abdeckt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, csharp, sql
- Bereich
- api, backend, databases
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100