-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
bugSomething isn't workingSomething isn't working
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.
Expected behavior
Please tell us about your environment
Other information
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working