Skip to content

Conversation

@vivekkumarrathour
Copy link

Supabase Realtime rejects payloads when multiple filters are provided. This change:

  • warns when multiple filters are passed,
  • uses only the first filter by default to avoid invalid payloads,
  • provides an escape hatch via meta.realtime.allowMultipleFilters.

Fixes #6360


PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features


What is the current behavior?

Refine joins multiple filters into a comma-separated string and sends them to Supabase Realtime.
Supabase Realtime does not support multiple filters, so this results in:

  • invalid realtime payload
  • failing websocket subscription
  • no live updates

What is the new behavior?

  • When more than one filter is provided:
    • A warning is shown in the console.
    • Only the first filter is sent to Supabase, avoiding invalid payloads.
  • If a user wants the old behavior, they can explicitly enable:
meta.realtime.allowMultipleFilters = true

Supabase Realtime rejects payloads when multiple filters are provided. This change:
- warns when multiple filters are passed,
- uses only the first filter by default to avoid invalid payloads,
- provides an escape hatch via meta.realtime.allowMultipleFilters.

Fixes refinedev#6360
@vivekkumarrathour vivekkumarrathour requested a review from a team as a code owner November 25, 2025 16:56
@changeset-bot
Copy link

changeset-bot bot commented Nov 25, 2025

⚠️ No Changeset found

Latest commit: 31cf5b4

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.

1 participant