-
Notifications
You must be signed in to change notification settings - Fork 28
Supabase Streaming for ListView stops streaming with a single filter #4903
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
Comments
Just want to add that I am seeing no errors. It simply just does not update. |
I have same issue. |
I have same issue |
I can confirm this issue and will escalate it to the engineering team for a fix. |
hi @the-digital-pro - does this happen only when deleting an existing row, but not when inserting a new row? If so this is a known limitation with the Supabase streaming API: Delete events are not filterable. |
@glgh I'm puzzled to why you have closed this issue. If I have a row in my database which is boolean and it is set to true. InFF, I have a standard filter on my query which returns back all records that are true then you would expect to see these in your listview. If I then go in Supabase and mark one of these records as FALSE you would expect to see this one record removed from the ListView. This is not the case. It remains there. |
hi @the-digital-pro, I appreciate the detail you shared - unfortunately this is a supabase streaming API limitation and it affects both 1) deleting rows and 2) updating rows such that it no longer meets the filter condition (<- this part is not clearly documented unfortunately) -- in each case the row would remain even though the expected behavior is it will go away. This also affects both their stream API and realtime channel API in our internal testing. This is only a limitation when filters are enabled -- without filters it should work fine. |
Can we access your project?
Current Behavior
Simple ListView which has a non-single query. Without a filter streaming works perfectly. As soon as I add a filter. i.e booked=true realtime updates do not update.
Expected Behavior
I would expect to see the ListView updated with any changes within the realtime Supabase database.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT9XiuflxIt1pbxK0KX6cfpviiovIjt9RLxMm9V+ZwsdCLbqBI13P/TBTFFWWbS/T2w7IWGN+WcepqyOvdrIMeY5HxeWfLZm+c9ASQCVJWOWbJSJErWJPmJ/J+hhflS/yre3pgpCWepucVIi7XGQAunKFyvaMLnhIkczAMqaOdjU+VKYLSTrMTpZwW07HxPXBtgcZhOxxJPK6asBlI/S/ol8qBVXzoPSwtX1TBKTWVk=
Visual documentation
No visual needed
Environment
Additional Information
No response
The text was updated successfully, but these errors were encountered: