entc/gen: import custom types in mutation template (#1576)

This commit is contained in:
Ariel Mashraki
2021-05-19 15:53:47 +03:00
committed by GitHub
parent 40c60a28aa
commit 6691e6a28c
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -18,6 +18,7 @@ import (
{{- range $n := $.Nodes }}
"{{ $.Config.Package }}/{{ $n.Package }}"
{{- template "import/types" $n }}
{{- end }}
"entgo.io/ent"