Azure / Azure/data-api-builder
[Bug]: dab update truncates field descriptions at commas
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 370
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 9
Description
## Expected
Quoted field descriptions should preserve commas.
```
dab update ServerInventory \
--fields.name Environment \
--fields.description "Deployment environment: Prod, Dev, Test, or UAT"
```
### Expected config:
```json
"description": "Deployment environment: Prod, Dev, Test, or UAT"
```
## Actual
The description is truncated at the first comma.
```json
"description": "Deployment environment: Prod"
```
This makes the CLI unreliable for scripting realistic descriptions, especially descriptions that list valid values.
Contributor guide
Research direction
Start by reproducing the `dab update` command shown in the issue with a quoted description containing commas, then trace the CLI handling for `--fields.description`. Done means the generated configuration preserves the complete `Deployment environment: Prod, Dev, Test, or UAT` value instead of truncating it at the first comma.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100