Follow up: Add optional 'options' param to convertObjectPropsToSnakeCase

Summary

Follow up from !18921 (comment 258004511), to add additional optional parameters to the convertObjectPropsToSnakeCase function.

Improvements

  • Provides a similar interface to the convertObjectPropsToCamelCase function
  • Allows more flexible use of this function

Involved components

  • app/assets/javascripts/lib/utils/common_utils.js
  • spec/javascripts/lib/utils/common_utils_spec.js
  • ee/app/assets/javascripts/analytics/cycle_analytics/components/custom_stage_form.vue

Any other files that use the convertObjectPropsToSnakeCase

Edited Feb 13, 2020 by Ezekiel Kigbo
Assignee Loading
Time tracking Loading