Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: make all step functions take &ExectutionContext #436

Merged
merged 1 commit into from
May 25, 2023

Conversation

SteveLauC
Copy link
Member

Standards checklist:

  • The PR title is descriptive.
  • The code compiles (cargo build)
  • The code passes rustfmt (cargo fmt)
  • The code passes clippy (cargo clippy)
  • The code passes tests (cargo test)
  • Optional: I have tested the code myself
    • I also tested that Topgrade skips the step where needed

If you developed a feature or a bug fix for someone else and you do not have the
means to test it, please tag this person here.

Closes #223

The step functions take all sorts of parameters, when I first contributed to topgrade, this really confused me and is obviously unfriendly to the new contributors, we should make them all consistent, and add some doc on how to add new steps in CONTRIBUTING.md

@s34m s34m merged commit 76c39ed into topgrade-rs:master May 25, 2023
7 checks passed
@SteveLauC SteveLauC deleted the ExecutionContext branch May 25, 2023 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Step functions should take &ExecutionContext
2 participants