Azure / Azure/data-api-builder
[Bug]: Inconsistent REST Path Validation Between `init` and `configure`
- Vorherrschende Sprache
- C#
- Sterne
- 1.5k
- Forks
- 370
- Ø Merge
- 3 T. 17 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
## Expected:
Both should behave the same, either reject or normalize consistently.
```
# This silently succeeds (prepends /):
dab init --database-type mssql --connection-string "test" --rest.path "noslash" --config test.json
# This correctly fails:
dab configure --runtime.graphql.path "noslash"
# fail: Path must start with a '/'
```
Beitragsleitfaden
Rechercherichtung
Beginnen Sie mit den Einstiegspunkten der Befehle `dab init` und `dab configure` und reproduzieren Sie beide Pfadvalidierungsverhalten aus dem Issue. Verfolgen Sie, wo `rest.path` und `runtime.graphql.path` validiert werden, und führen Sie anschließend die relevanten CLI-Tests oder Befehle aus, um zu bestätigen, dass beide Pfade konsistent abgelehnt oder normalisiert werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 65/100