You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Expected behavior
Please tell us about your environment
Other information
The text was updated successfully, but these errors were encountered: