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
Hi, I tried integrating the framework in an existing project, but quickly ran into a problem that my client uses cursor-based pagination for the feed. The cursor is based on a timestamp, so I need to filter the feed by timestamp somehow.
activities = feed_manager.get_user_feed(user.pk).filter(activity_created__gte???)[:page_size]
boards = Board.objects.filter(pk__in=[a.object_id for a in activities])
The only examples I found were limit-offset or page-based pagination, which seem completely pointless for a real-time feed where there will be gaps and duplicates as new items come in.
Is this possible somehow?
The text was updated successfully, but these errors were encountered:
Hi, I tried integrating the framework in an existing project, but quickly ran into a problem that my client uses cursor-based pagination for the feed. The cursor is based on a timestamp, so I need to filter the feed by timestamp somehow.
The only examples I found were limit-offset or page-based pagination, which seem completely pointless for a real-time feed where there will be gaps and duplicates as new items come in.
Is this possible somehow?
The text was updated successfully, but these errors were encountered: