Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

token index not respecting current results set #152

Open
adamski opened this issue Jan 20, 2024 · 2 comments
Open

token index not respecting current results set #152

adamski opened this issue Jan 20, 2024 · 2 comments

Comments

@adamski
Copy link

adamski commented Jan 20, 2024

I'm using a notification token to get updates about changes.

I have a couple of different views into the same collection ("public" and "user").

I expected that the index returned by the deletions/insertions/modifications vectors in changes would report based on the results set. What I'm seeing is based on the entire collection.

For example if I modify the last created item, I get the index of the last item of the entire collection, not of the current results set.

If this is tricky - would it be possible to get the ID of deleted or modified items?

@adamski
Copy link
Author

adamski commented Feb 2, 2024

@leemaguire any insight into the above?

@leemaguire
Copy link
Contributor

Hi @adamski

Could you share some example code so I can better understand the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants