Open
Description
What is the current behavior?
I can't import the SyncResponse class from any sub package without getting deprecation errors, it's no longer exportable from Deepgram.Models.Listen.v1.REST although that's what the deprecation message hints at importing from
Steps to reproduce
- Use IListenRestClient for dependency injection
builder.Services.AddSingleton<IListenRESTClient>(sp =>
{
var configuration = sp.GetRequiredService<IConfiguration>();
var settings = configuration.GetSection("Deepgram").Get<DeepgramSettings>()!;
return ClientFactory.CreateListenRESTClient(settings.ApiKey);
});
- try to import SyncResponse in any service that injects the client.