entc/gen: replace Type.Alias with Type.PackageAlias

This commit is contained in:
Ariel Mashraki
2022-02-04 22:36:35 +02:00
committed by Ariel Mashraki
parent 2e906bffa2
commit 1d3f1819ae
7 changed files with 11 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ in the LICENSE file in the root directory of this source tree.
import (
"{{ $.Config.Package }}/predicate"
{{- range $n := $.Nodes }}
{{ $n.Alias }} "{{ $.Config.Package }}/{{ $n.PackageDir }}"
{{ $n.PackageAlias }} "{{ $.Config.Package }}/{{ $n.PackageDir }}"
{{- end }}
"entgo.io/ent/dialect/sql"