Cysharp / R3

The new future of dotnet/reactive and UniRx.
MIT License
1.71k stars 70 forks source link

Add equality comparer constructor to SerializableReactiveProperty #196

Closed epaezrubio closed 1 month ago

neuecc commented 2 months ago

Thank you. However, the reason why SerializableReactiveProperty doesn't have an IEqualityCompareroverload is that IEqualityCompareris not serializable. When deserialized, the IEqualityComparerwill be null. How about making it possible to create a SerializableReactivePropertythat inherits and fixes the IEqualityComparer? In other words, make it protected instead of public.