Open tranb3r opened 10 months ago
Hi @tranb3r thanks for your feedback, I will take a look if that is possible, the only implication that I see at this moment is that the library is generating by default a partial method if you don't specify the OnChanged/OnChanging property, and could be the case that the current code is using that partial method. See the example:
I am going to review this case and if possible I will discuss what is the best way to do it if it does not affect the current behavior. Thanks
Would it be possible to make
propertyChanged
/propertyChanging
default valuenull
, and generate the code only whenOnXXXChanged
/OnXXXChanging
method is implemented?It's purely an optimization, to avoid generating code and calling methods for nothing.
What do you think?