Azure / Azure/data-api-builder

[Bug]: Inconsistent REST Path Validation Between `init` and `configure`

Open
#3,535 0 comments 0 reactions 0 assignees View on GitHub
2.0 cli
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

## 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 '/'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.