refactor(reflection): 🛠️ comment out ToSnakeCase usage in MapToStruct

This commit is contained in:
Hein
2026-01-07 10:23:37 +02:00
parent 6a0297713a
commit a4bcefd716

View File

@@ -973,7 +973,7 @@ func MapToStruct(dataMap map[string]interface{}, target interface{}) error {
// 4. Field name variations
columnNames = append(columnNames, field.Name)
columnNames = append(columnNames, strings.ToLower(field.Name))
//columnNames = append(columnNames, ToSnakeCase(field.Name))
// columnNames = append(columnNames, ToSnakeCase(field.Name))
// Map all column name variations to this field index
for _, colName := range columnNames {