Replies: 1 comment
-
Created an issue #1821 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
My Setup
I have the structure of the following two objects:
Additionally I have a query on my database that looks like this:
The problem
When I now update the
exampleEmbeddedParam
parameter of any of theMyEmbeddedRealmObject
's, no new state update for my Flow gets emitted.I learned that there is a default limitation of a nested hierarchy of 4 for the
.asFlow()
function, which I can overcome using thekeyPaths
parameter for the.asFlow()
function.However, from my perspective, the
myEmbeddedRealmObjects
is on a hierarchy of 2, so I the query should get notified when any of theMyEmbeddedRealmObject
'sexampleEmbeddedParam
gets updated.This is however not the case and only if I add an explicit
keyPaths
parameter like.asFlow(listOf("myEmbeddedRealmObjects.*")
my query emits an update.Is it per default, that realmList parameters get ignored? If so, this should be properly documented, or am I doing something wrong?
Any help is appreciated! Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions