cmd/ent: hide the --idtype flag from generate command (#3490)

The --idtype flag predates the field.<Type>(id) option.
See, https://entgo.io/docs/schema-fields\#id-field.
This commit is contained in:
Ariel Mashraki
2023-04-18 15:54:14 +03:00
committed by GitHub
parent 0d1257f5f2
commit 0508677ce7
5 changed files with 10 additions and 5 deletions

View File

@@ -50,6 +50,9 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run cmd tests
run: go test -race ./...
working-directory: cmd
- name: Run dialect tests
run: go test -race ./...
working-directory: dialect