Funicular-Switch icon indicating copy to clipboard operation
Funicular-Switch copied to clipboard

Required properties on base type are not respected in static factory methods

Open ax0l0tl opened this issue 3 months ago • 0 comments

[UnionType]
public abstract partial class MyBase
{
    public required int Number { get; set; }
}

public class Derived : MyBase
{
}

-> generated code does not compile because Number is not detected as required property of Derived

ax0l0tl avatar Oct 31 '25 10:10 ax0l0tl