- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestSerializerWithAnyType (0.09 seconds)
-
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{})
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0)