- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSerializerWithAnyType (0.09 sec)
-
tests/serializer_test.go
} AssertEqual(t, result.Roles, data.Roles) AssertEqual(t, result.JobInfo.Location, data.JobInfo.Location) } // Test for: panic when serializer field with any type is nil func TestSerializerWithAnyType(t *testing.T) { type ProductWithAny struct { gorm.Model Name string Data any `gorm:"serializer:json"` } DB.Migrator().DropTable(&ProductWithAny{})
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 9.3K bytes - Viewed (0)