Cloneable icon indicating copy to clipboard operation
Cloneable copied to clipboard

Support constructors?

Open MihailsKuzmins opened this issue 3 years ago • 2 comments

I have this model

class Foo
{
    public Foo(int prop)
    {
        Prop = prop;
    }

    public int Prop {get;}
    public string Str {get;set;}
}

the generated method calls a default constructor which does not exist

P.S. If it is OK, I could try to prepare a PR for this issue. This issue does not sound impossible

MihailsKuzmins avatar Oct 08 '21 14:10 MihailsKuzmins