uno.extensions icon indicating copy to clipboard operation
uno.extensions copied to clipboard

BindableGenerator generated code stackoverflows when model is recursive

Open fperreaultnv opened this issue 2 years ago • 1 comments

public partial record MyClass
{
  public MyClass Child { get; init; }
}

The generated code builds correctly, but I get a stackoverflow when the code uses the model.

fperreaultnv avatar Jan 06 '23 19:01 fperreaultnv

@fperreaultnv is the instance of MyClass being created by DI? This will cause an overflow as part of resolving the instance I think, unrelated to mvux (ie BindableGenerator)

nickrandolph avatar Sep 14 '23 04:09 nickrandolph