Azure / Azure/data-api-builder
When using wrong relationship command it does not error out
Open
bug
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 370
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 8
Description
I have both categories and todos entities in my config. I tried to update it. I used wrong command
Wrong command (not double dash)
> ..\src\bin\Debug\net6.0\hawaii-cli.exe update categories add **relationship todos** --target.entity todo --cardinality many --mapping.fields "id:category_id"
**Updated the entity:categories in the config.**
Correct command
> ..\src\bin\Debug\net6.0\hawaii-cli.exe update categories **--relationship** todos --target.entity todo --cardinality many --mapping.fields "id:category_id"
Updated the entity:categories in the config.
Contributor guide
Assessment
This issue has not been assessed yet.