pub fn normalize_field_path(path: &str) -> StringExpand description
Normalize a field path for database access.
This handles dotted paths like “user.profile.name” and converts each segment.
§Examples
use fraiseql_core::utils::casing::normalize_field_path;
assert_eq!(normalize_field_path("userId"), "user_id");
assert_eq!(normalize_field_path("user.createdAt"), "user.created_at");
assert_eq!(normalize_field_path("device.sensor.currentValue"), "device.sensor.current_value");