WhenAnyValue with null propogation, how to init and monitor for other values? #3770
Unanswered
sinatrocious
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is a proposed workaround for null propagation. However it doesn't trigger (at all) if expression has null value in the chain. Which leads to 2 problems:
StartWith()
>< )I made a simple test to demonstrate the issue.
Show code
I have to monitor for
Trigger
andChild.Property
properites.Run the test and the output will be:
In other words:
A
never works.B
withStartWith
workaround only able to init value, but then doesn't work.C
(attempt to useCombineLatest
) never works eitherD
(doesn't have null propagation) works, but it's not able to catchChild.Property
changes.Question
How to monitor for
Trigger
andChild.Property
(whereChild
may always benull
)?Beta Was this translation helpful? Give feedback.
All reactions