Skip to content

Where constraints for generic methods #31

Description

@tecAmoRaller

Hi.
Very best project.

Incorect generated code for generic methods with where constraints.
We want add where clasue to generated code

  partial class TestDb
  {
      [BeaKona.AutoInterface]
      private readonly IDb _inner = default!;
  }

  public interface IDb
  {
      T? Get<T>() where T: class;
  }
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions