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

Improve passing of Git settings #53

Merged
merged 8 commits into from
Nov 21, 2024
Merged

Conversation

geofflamrock
Copy link
Owner

@geofflamrock geofflamrock commented Nov 21, 2024

This PR is part of a series that removes the use of a DI container and cleans up passing objects around:

Having the GitOperations class in the DI container meant we had to pass settings from the command such as --dry-run and --verbose to each individual method, which made the interface noisy. This PR moves the settings to the constructor to tidy things up a bit.

This was referenced Nov 21, 2024
Base automatically changed from remove-di-container to main November 21, 2024 07:46
@geofflamrock geofflamrock merged commit a40d155 into main Nov 21, 2024
11 checks passed
@geofflamrock geofflamrock deleted the git-operation-settings branch November 21, 2024 07:55
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.

1 participant