Uh oh!
There was an error while loading. Please reload this page.
Add interface to SshCommand - #1508
Conversation
Rob-Hague
commented
Oct 6, 2024
I am a bit uneasy about this one because of the breaking changes it introduces |
what exact breaking change are you referring to? As I understand the only problem might occur if the user had a code like this SshCommandcommand=client.CreateCommand("ls");But this code would be quite rare as the modern preferred coding style is varcommand=client.CreateCommand("ls");Every release there are small breaking changes. This change won't be very big and would be caught during compile time. We might introduce another interface |
Rob-Hague
commented
Aug 3, 2025
Yes that is the breaking change I am referring to.
It is not my preferred coding style :-) The breaking changes in each release are considered based on how many people it is going to benefit vs inconvenience. You can see my thoughts on mocking the library here #1667 (comment), but in short, I don't consider it an important feature for which is worth inconveniencing an unknown but possibly large number of people. If we want to compare the proposed change here against prior changes:
|
Changes:
Closes#1507