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.
set_runtime_acronyms
The canonical field-name → snake_case JSONB-key rule.
to_camel_case
Convert snake_case to camelCase.
to_snake_case
The canonical field-name → snake_case JSONB-key rule.