Azure / Azure/data-api-builder

When using wrong relationship command it does not error out

Open
#645 2 comments 0 reactions 1 assignee Claimed by @severussundar View on GitHub
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

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.