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

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