reactiveui / ReactiveUI

An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. ReactiveUI allows you to abstract mutable state away from your user interfaces, express the idea around a feature in one readable place and improve the testability of your application.

Home Page:https://www.reactiveui.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove DistinctUntilChanged from WhenAnyValue

user98392 opened this issue · comments

When WhenAnyValue is used for example on a boolean property it doesn't react to all the changes and that is a problem.
The reason is DistinctUntilChanged that is sitting on the last line of the SubscribeToExpressionChain method in the ReactiveNotifyPropertyChangedMixin class.

commented

This won't be changing. It will be a breaking change for all users.

Possibly new operators could be added since this won't be a breaker binary change for existing users, and a change of existing functionality.