You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
API/Naming: missing CamelCaseToKebabCase processor and non-reusable field-name transforms for rfl::to_view reflection #149
Part of #138 Popularity: 1/7 corpus consumers (cuda-quantum)
Problem
reflect-cpp (v0.25.0) provides rfl::CamelCaseToSnakeCase and rfl::SnakeCaseToKebabCase, but no direct rfl::CamelCaseToKebabCase processor—so C++ camelCase structs serialized to kebab-case YAML/JSON must chain both processors manually.
Field-name case-conversion utilities are tightly coupled to serializer/deserializer processors (rfl::Processors<...>) and are not exposed as reusable constexpr/runtime helpers for direct reflection consumers using rfl::to_view. Furthermore, standard naive camelCase -> snake_case splitting often mishandles acronyms (e.g. eraseQEC -> erase_qec rather than erase_q_e_c), forcing reflection-based binding layers (like Python nanobind casters) to hand-roll their own case converter.
Triage decision: closing as wontfix (not planned) for the upstream adoption track.
Rationale:CamelCaseToKebabCase is already a trivial 2-processor chain today (rfl::CamelCaseToSnakeCase + rfl::SnakeCaseToKebabCase), and acronym-aware word splitting / to_view case-transform helpers are high-bikeshed surface area with zero external adoption leverage.
Activity
clockblocker commentedon Nov 29, 2026
Triage decision: closing as
wontfix(not planned) for the upstream adoption track.Rationale:
CamelCaseToKebabCaseis already a trivial 2-processor chain today (rfl::CamelCaseToSnakeCase+rfl::SnakeCaseToKebabCase), and acronym-aware word splitting /to_viewcase-transform helpers are high-bikeshed surface area with zero external adoption leverage.