Currently, generated properties are hard-coded to be private and non-null. We can improve this by having it inherit the modifier and nullability of whatever node it's generated from:
[Export]
[ExportInterface(typeof(IComponentA))]
public Node? ComponentANode { set; get; }
// Generated
public IComponentA? ComponentA { set; get; } // public and nullable
Currently, generated properties are hard-coded to be
private
and non-null. We can improve this by having it inherit the modifier and nullability of whatever node it's generated from: