Skip to content

Conversation

@gianarb
Copy link
Collaborator

@gianarb gianarb commented Jan 16, 2026

I think there is still something I need to learn about how factory are
supposed to work and the fact that I need to panic at some point if
something does not work since I can't gracefully return an error is a
sign of that but this commit fixes @ecv report about not being able to
run --help and help command because they requires authentication.

A valid concern!

I think there is still something I need to learn about how factory are
supposed to work and the fact that I need to panic at some point if
something does not work since I can't gracefully return an error is a
sign of that but this commit fixes @ecv report about not being able to
run `--help` and `help` command because they requires authentication.

A valid concern!
@gianarb gianarb requested review from ecv and scotwells January 16, 2026 16:12
Copy link
Contributor

@scotwells scotwells left a comment

Choose a reason for hiding this comment

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

Just making sure I understand this change correctly. The REST client is now lazily loaded when the command needs it instead of it being built when the factory is initialized?

@gianarb
Copy link
Collaborator Author

gianarb commented Jan 16, 2026 via email

@gianarb gianarb merged commit 2631a7a into main Jan 17, 2026
1 check passed
@gianarb gianarb deleted the fix/lazy-factory-authentication branch January 17, 2026 21:36
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.

4 participants