autorest
autorest copied to clipboard
credentials::InitializeServiceClient not called
generate with Azure.CSharp. The generated client constructors with a ServiceClientCredentials parameter invoke this(handlers) which calls this.Initialize. This happens before the body of the constructor where the credentials property is set. The initialize method can't call this.Credentials.InitializeServiceClient because Credentials hasn't been set yet.
Thank you, @matt-gibbs. This is definitely a priority issue.
https://github.com/Azure/autorest/pull/419