Skip to content

Conversation

@7ttp
Copy link
Contributor

@7ttp 7ttp commented Dec 19, 2025

when reusing a PostgrestQueryBuilder instance returned by .from(),
url search params and headers were being shared across multiple operations,
causing filters to accumulate unexpectedly.
this fix ensures each operation receives its own cloned state.

fixes #1640

@7ttp 7ttp requested review from a team as code owners December 19, 2025 19:24
@7ttp 7ttp changed the title fix(postgrest): prevent shared state between query builder operations fix(postgrest-js): prevent shared state between query builder operations Dec 19, 2025
@coveralls
Copy link

coveralls commented Dec 19, 2025

Coverage Status

coverage: 95.367% (+14.0%) from 81.37%
when pulling da87e08 on 7ttp:fix-postgrest-shared-state
into c5f4e08 on supabase:master.

@7ttp 7ttp force-pushed the fix-postgrest-shared-state branch from 3422ca2 to da87e08 Compare December 19, 2025 19:57
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.

Unexpected behavior for multiple operations on the same table

2 participants