Skip to content

Fix code generator: support generic type parameters and import aliasing #43

Fix code generator: support generic type parameters and import aliasing

Fix code generator: support generic type parameters and import aliasing #43

Triggered via pull request November 27, 2025 12:20
Status Failure
Total duration 1m 43s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
test (1.25, ubuntu-latest)
Process completed with exit code 1.
test (1.25, ubuntu-latest)
generated.User.Profile.Equal undefined (type "gorm.io/cli/gorm/field".String has no field or method Equal)
test (1.25, ubuntu-latest)
generated.User.Profile.Equal undefined (type "gorm.io/cli/gorm/field".String has no field or method Equal)
test (1.25, ubuntu-latest)
generated.User.Profile.Contains undefined (type "gorm.io/cli/gorm/field".String has no field or method Contains)
test (1.25, ubuntu-latest)
cannot use generated.User.Profile (variable of struct type "gorm.io/cli/gorm/field".String) as examples.JSON value in variable declaration
test (1.25, ubuntu-latest)
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 (1.23, ubuntu-latest)
The strategy configuration was canceled because "test._1_25_ubuntu-latest" failed
test (1.23, ubuntu-latest)
Process completed with exit code 1.
test (1.23, ubuntu-latest)
generated.User.Profile.Equal undefined (type "gorm.io/cli/gorm/field".String has no field or method Equal)
test (1.23, ubuntu-latest)
generated.User.Profile.Equal undefined (type "gorm.io/cli/gorm/field".String has no field or method Equal)
test (1.23, ubuntu-latest)
generated.User.Profile.Contains undefined (type "gorm.io/cli/gorm/field".String has no field or method Contains)
test (1.23, ubuntu-latest)
cannot use generated.User.Profile (variable of type "gorm.io/cli/gorm/field".String) as examples.JSON value in variable declaration
test (1.23, ubuntu-latest)
cannot use generated.User.LastLogin (variable of type "gorm.io/cli/gorm/field".Field[sql.NullTime]) as "gorm.io/cli/gorm/field".Time value in variable declaration
test (1.24, ubuntu-latest)
The strategy configuration was canceled because "test._1_25_ubuntu-latest" failed
test (1.24, ubuntu-latest)
The operation was canceled.
test (1.24, ubuntu-latest)
generated.User.Profile.Equal undefined (type "gorm.io/cli/gorm/field".String has no field or method Equal)
test (1.24, ubuntu-latest)
generated.User.Profile.Equal undefined (type "gorm.io/cli/gorm/field".String has no field or method Equal)
test (1.24, ubuntu-latest)
generated.User.Profile.Contains undefined (type "gorm.io/cli/gorm/field".String has no field or method Contains)
test (1.24, ubuntu-latest)
cannot use generated.User.Profile (variable of struct type "gorm.io/cli/gorm/field".String) as examples.JSON value in variable declaration
test (1.24, ubuntu-latest)
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