[Bug]: ObservableAsPropertyHelper
emits property changed for lazy initial value after first-time reading and doesn't respect DistinctUntilChanged
#3682
Labels
Describe the bug 馃悶
When reading a calculated property backed by a lazy
ObservableAsPropertyHelper
an INPC event is emitted while the value of the property is still the initial value which is not the case for normal properties.There is also another bug that if the emitted non-initial value is the same as the initial value it is still emmitted.
Step to reproduce
Case 1
Code
Result
Case 2
Code
Result
Case 3
Code
Result
Case 4
Code
Result
Reproduction repository
Code is inline
Expected behavior
Included in the comments in the "Steps to reproduce"
IDE
Visual Studio 2022
Operating system
Windows
Device
Windows PC
ReactiveUI Version
19.5.1
The text was updated successfully, but these errors were encountered: