shubhamranjan / dotnet-etcd

A C# .NET (dotnet) GRPC client for etcd v3 +
MIT License
266 stars 60 forks source link

Cannot use constructor EtcdClient(string) anymore #184

Closed GrzegorzFedoryka closed 1 year ago

GrzegorzFedoryka commented 1 year ago

Describe the bug Since there are 2 constructors with only etcdUri required, there is no possibility to use it as follows: new EtcdClient(uri). You could create new one public EtcdClient(string uri) : base(uri, default port, default ...) To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Be able to use constructor var etcdClient = new EtcdClient(uri)

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

shubhamranjan commented 1 year ago

The obsolete constructor has been removed in #190 and there will be only 1 constructor going forward