I am new in ent and entimport.
I used to use gen and gorm as orm.
I find that entimport will generate wrong import package in schema file. It uses gorm.io/gen/field instead of subpackage of ent:

Then I tried to remove gen package (using go get gorm.io/gen@none and go clean -cache -modcache) and re-generated code, everything goes well:

And after I get gen again in my another project which need it, entimport will generate wrong import again.
It really bothers me for I am maintain some proj. using gen now, I need both of gen and ent work well.
I am new in ent and entimport.
I used to use gen and gorm as orm.
I find that
entimportwill generate wrong import package in schema file. It usesgorm.io/gen/fieldinstead of subpackage of ent:Then I tried to remove gen package (using
go get gorm.io/gen@noneandgo clean -cache -modcache) and re-generated code, everything goes well:And after I get
genagain in my another project which need it,entimportwill generate wrong import again.It really bothers me for I am maintain some proj. using
gennow, I need both ofgenandentwork well.