Project

General

Profile

Actions

Refactor #25913

closed

Add helpers for snake and camel case

Added by Ondřej Pražák over 5 years ago. Updated about 5 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 #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6433 added
Actions #2

Updated by Marek Hulán over 5 years ago

  • Fixed in Releases 1.22.0 added
Actions #3

Updated by Ondřej Pražák over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ondřej Pražák over 5 years ago

Actions #5

Updated by Tomer Brisker about 5 years ago

  • Category set to JavaScript stack
Actions

Also available in: Atom PDF