Skip to content

Fix code generation to support pointer embedding of gorm.Model and include base fields #17

Fix code generation to support pointer embedding of gorm.Model and include base fields

Fix code generation to support pointer embedding of gorm.Model and include base fields #17

Triggered via pull request September 15, 2025 10:07
@uptutuuptutu
synchronize #16
uptutu:master
Status Failure
Total duration 57s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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