Skip to content

Conversation

simolus3
Copy link
Contributor

When raw tables are used with the default JS client that doesn't support them, we emit a warning. Unfortunately, the check compared the raw_tables entry in the serialized schema against null, which misses a valid empty array.

This fixes the superfluous warning.

Closes #672

Copy link

changeset-bot bot commented Jul 23, 2025

🦋 Changeset detected

Latest commit: 3572881

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@powersync/common Patch
@powersync/node Patch
@powersync/react Patch
@powersync/react-native Patch
@powersync/web Patch
@powersync/op-sqlite Patch
@powersync/tanstack-react-query Patch
@powersync/diagnostics-app Patch

Not sure what this means? Click here to learn what changesets are.

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

@simolus3 simolus3 requested a review from stevensJourney July 23, 2025 11:04
@simolus3 simolus3 merged commit 6b38551 into main Jul 23, 2025
9 checks passed
@simolus3 simolus3 deleted the raw-tables-warning branch July 23, 2025 11:59
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.

Raw tables require the Rust-based sync client. The JS client will ignore them.

2 participants