Skip to content

Support constructors? #7

Description

@MihailsKuzmins

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

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