Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

chore: StepsService cleanup #1477

Merged
merged 1 commit into from
Mar 15, 2023
Merged

chore: StepsService cleanup #1477

merged 1 commit into from
Mar 15, 2023

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Mar 14, 2023

Description

As a byproduct of another investigation, there are some small cosmetic improvements over the StepsService

Changes

  • Rename the saveConfig parameter to updateStepParams to (hopefully) make it easier to understand where this parameter goes
  • Replace .map() call with a .forEach to avoid creating a new array
  • Type the buildStepSchemaAndModel method parameters

As a byproduct of another investigation, there some small cosmetic
improvements over the StepsService

The changes are:
* Rename then saveConfig parameter to updateStepParams to (hopefully)
make it easier to understand where this parameter goes
* Replace .map() call with a .forEach to avoid creating a new array
* Type the buildStepSchemaAndModel method parameters
@lordrip lordrip requested a review from a team March 14, 2023 13:59
@sonarcloud
Copy link

sonarcloud bot commented Mar 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@kahboom kahboom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @lordrip ! I like the improvements

@kahboom kahboom merged commit cf905f5 into KaotoIO:main Mar 15, 2023
@lordrip lordrip deleted the chore/clean-steps-service branch May 6, 2023 17:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants