ondata not invoked when the results between calls don't change #279
Unanswered
danielvanmil
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Seems to me this is the correct behavior, that function should only be invoked when the data actually changes |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
With my query, for example:
The onData is not invoked when a next query result is the same as the previous one (in my case no items).
This seems expected behavior as the Appollo ObservableQuery code contains a check with a isDifferentFromLastResult:
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions