[BUG]: IGitHubClient
interface does not expose the Credentials
property of the underlying GitHubClient
class
#3000
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
What happened?
I am programming using C# 7.3 and the .NET Framework 4.8.
Just what it says on the tin. I am trying to follow the principles of SOLID and keep a property that is of type
IGitHubClient
running around for accessing myGitHub
client object. TheCredentials
property of theGitHubClient
concrete class ispublic
and I can access it, but not through my property that I've typed as ofIGitHubClient
, because that interface doesn't expose theCredentials
property. Was this an oversight?Versions
Octokit NuGet package v14.0.0
C# 7.3
Visual Studio 2022 Enterprise Edition v17.12.4
.NET Framework 4.8
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: