mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
entc/gen: replace Type.Alias with Type.PackageAlias
This commit is contained in:
committed by
Ariel Mashraki
parent
2e906bffa2
commit
1d3f1819ae
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user