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

Move AccountClient to libs/command #2447

Merged
merged 6 commits into from
Mar 20, 2025
Merged

Move AccountClient to libs/command #2447

merged 6 commits into from
Mar 20, 2025

Conversation

shreyas-goenka
Copy link
Contributor

@shreyas-goenka shreyas-goenka commented Mar 6, 2025

Changes

Move the AccountClient reader and setter from the root package to libs/command.

Why

This allows us to read the account client set in the context in all CLI packages. This was not possible before because using root.AccountClient would often result in an import cycle.

This is a natural follow-up to #2440 and #2444.

Tests

Existing tests and one new unit test.

NO_CHANGELOG=true

@shreyas-goenka shreyas-goenka marked this pull request as ready for review March 6, 2025 18:56
@pietern pietern changed the title Move AccountClient to libs/command Move AccountClient to libs/command Mar 10, 2025
@shreyas-goenka shreyas-goenka added this pull request to the merge queue Mar 20, 2025
Merged via the queue into main with commit f52d8bd Mar 20, 2025
9 checks passed
@shreyas-goenka shreyas-goenka deleted the acc-command branch March 20, 2025 13:59
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.

3 participants