Fix code generation to support pointer embedding of gorm.Model and include base fields #17
Annotations
6 errors and 1 warning
|
test
Process completed with exit code 1.
|
|
test
generated.User.Profile.Equal undefined (type "gorm.io/cli/gorm/field".String has no field or method Equal)
|
|
test
generated.User.Profile.Equal undefined (type "gorm.io/cli/gorm/field".String has no field or method Equal)
|
|
test
generated.User.Profile.Contains undefined (type "gorm.io/cli/gorm/field".String has no field or method Contains)
|
|
test
cannot use generated.User.Profile (variable of struct type "gorm.io/cli/gorm/field".String) as "gorm.io/cli/gorm/examples".JSON value in variable declaration
|
|
test
cannot use generated.User.LastLogin (variable of struct type "gorm.io/cli/gorm/field".Field[sql.NullTime]) as "gorm.io/cli/gorm/field".Time value in variable declaration
|
|
test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|