Skip to main content

Module casing

Module casing 

Source
Expand description

Field name case conversion (camelCase โ†’ snake_case).

This module handles converting GraphQL field names (typically camelCase) to PostgreSQL column names (typically snake_case).

Functionsยง

normalize_field_path
Normalize a field path for database access.
to_camel_case
Convert snake_case to camelCase.
to_snake_case
The canonical field-name โ†’ snake_case JSONB-key rule.