Skip to content

FIX supabase push handler throwing for objects#7766

Closed
csenio wants to merge 2 commits intopubkey:masterfrom
csenio:fix/replication-supabase-objects
Closed

FIX supabase push handler throwing for objects#7766
csenio wants to merge 2 commits intopubkey:masterfrom
csenio:fix/replication-supabase-objects

Conversation

@csenio
Copy link
Copy Markdown

@csenio csenio commented Jan 31, 2026

This PR contains:

  • A BUGFIX

Describe the problem you have without this PR

supabase replication doesn't handle jsonb or array types. More specifically, the push handler throws

Todos

  • Tests
  • Documentation
  • Typings
  • Changelog

@pubkey
Copy link
Copy Markdown
Owner

pubkey commented Feb 1, 2026

Thank you for the contribution. Notice that each fix need at least one test case.

@csenio
Copy link
Copy Markdown
Author

csenio commented Mar 9, 2026

Sry for the delay, wanted to test this in the wild first. The JSON / array equality check I attempted fails when those columns get too long since they're all url encoded.

But this leads me to wonder why we even check the equality for all fields instead of just id+updated_at. Shouldn't those be enough to check the doc equality?
@pubkey

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants