Project

General

Profile

Actions

Refactor #25913

closed

Add helpers for snake and camel case

Added by Ondřej Pražák about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

While our API serves JSON with snake case keys, js uses camel case. We need to transform the JSON keys to camel case to remove linting errors and do the opposite when posting data to server. As a developer, I expect that core will provide a convenient way how to do this.


Related issues 1 (0 open1 closed)

Related to Katello - Refactor #26070: Use propsToSnakeCase from coreClosedOndřej PražákActions
Actions

Also available in: Atom PDF