[Bug]: Inconsistent REST Path Validation Between `init` and `configure`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
Start with the dab init and dab configure command entry points and reproduce both path-validation behaviors from the issue. Trace where rest.path and runtime.graphql.path are validated, then run the relevant CLI tests or commands to confirm both reject or normalize paths consistently.
Written by the indexing model from the issue text.
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 '/'
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 372
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/data-api-builder
-
pgsql
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/data-api-builder#3598 ·
-
2.x cli mcp-server
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/data-api-builder#3576 ·
-
2.x health-endpoint
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/data-api-builder#3570 ·
-
2.x telemetry
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/data-api-builder#3564 ·
-
2.x telemetry
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Azure/data-api-builder#3562 ·
All issues in Azure/data-api-builder
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·