Skip to content

fix(supabase): handle multiple filters in realtime subscriptions#7219

Open
s3ldc wants to merge 2 commits intorefinedev:mainfrom
s3ldc:fix-supabase-multiple-filters
Open

fix(supabase): handle multiple filters in realtime subscriptions#7219
s3ldc wants to merge 2 commits intorefinedev:mainfrom
s3ldc:fix-supabase-multiple-filters

Conversation

@s3ldc
Copy link
Contributor

@s3ldc s3ldc commented Jan 19, 2026

PR Checklist

Bugs / Features

What is the current behavior?

When using the Supabase live provider with multiple filters, refine joins the filters with commas and sends them in a single realtime subscription.
Supabase Realtime does not support multiple filters in this format, causing invalid payloads and broken realtime subscriptions.

What is the new behavior?

If multiple filters are provided, the provider now logs a warning and applies only the first filter.
This prevents invalid realtime payloads and allows subscriptions to continue working.

Fixes #6360

Notes for reviewers

Supabase Realtime currently supports only one filter per subscription.
This change adds a defensive guard to avoid silent failures when multiple filters are passed.

@s3ldc s3ldc requested a review from a team as a code owner January 19, 2026 14:46
@changeset-bot
Copy link

changeset-bot bot commented Jan 19, 2026

⚠️ No Changeset found

Latest commit: 3b79e65

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Multiple Filters not Supported by Supabase Realtime

1 participant