Azure / Azure/data-api-builder

When using wrong relationship command it does not error out

Offen
#645 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @severussundar Auf GitHub ansehen
bug
Vorherrschende Sprache
C#
Sterne
1.5k
Forks
370
Ø Merge
3 T. 22 Std.
Gemergte PRs (30 T.)
9

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.