You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to understand why submanager does not update the fetched documents when I change the limit of and embedded array inside a collection, no matter how big this limit is, sub-manager does not bring me all of those elements, but it updates the subscription.
So for example, I have Todos collection defined like this:
(1) /todo/:_id
// subscribe to task title and subtitle
(2) /todo/:_id/details
// subscribe to task title, subtitle and the first 10 subtasks
Both routes are subscribed to the same publication handled by subscription manager, so if I go to 2 from 1, subscription manager will update the publication, but the client will not show these subtasks until I manually refresh the browser which obviously I don't want my app to do that, and even this way, using the loadMore path, will not fetch new embedded documents.
If I don't use subscription manager, this works as expected. What am I missing?
I am trying to understand why submanager does not update the fetched documents when I change the limit of and embedded array inside a collection, no matter how big this limit is, sub-manager does not bring me all of those elements, but it updates the subscription.
So for example, I have Todos collection defined like this:
and the following routes:
Both routes are subscribed to the same publication handled by subscription manager, so if I go to 2 from 1, subscription manager will update the publication, but the client will not show these subtasks until I manually refresh the browser which obviously I don't want my app to do that, and even this way, using the loadMore path, will not fetch new embedded documents.
If I don't use subscription manager, this works as expected. What am I missing?
p.s.: I build a todo example to reproduce this.
The text was updated successfully, but these errors were encountered: