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
convertObjectPropsToCamelCasefunction - Allows more flexible use of this function
Involved components
app/assets/javascripts/lib/utils/common_utils.jsspec/javascripts/lib/utils/common_utils_spec.jsee/app/assets/javascripts/analytics/cycle_analytics/components/custom_stage_form.vue
Any other files that use the convertObjectPropsToSnakeCase
Edited by Ezekiel Kigbo