Project

General

Profile

Refactor #25913

Add helpers for snake and camel case

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

Status:
Closed
Priority:
Normal
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Related to Katello - Refactor #26070: Use propsToSnakeCase from coreClosed

Associated revisions

Revision 242b77fe (diff)
Added by Ondřej Pražák about 4 years ago

Fixes #25913 - Add helpers for snake and camel case

History

#1 Updated by The Foreman Bot about 4 years ago

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

#2 Updated by Marek Hulán about 4 years ago

  • Fixed in Releases 1.22.0 added

#3 Updated by Ondřej Pražák about 4 years ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Ondřej Pražák about 4 years ago

#5 Updated by Tomer Brisker almost 4 years ago

  • Category set to JavaScript stack

Also available in: Atom PDF