Skip to content

Version 5.1.2 has typing issues #366

Open
@jgrisafe

Description

@jgrisafe

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

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions