Skip to content

Conversation

Chriztiaan
Copy link
Contributor

@Chriztiaan Chriztiaan commented Jul 8, 2024

Vue wraps its reactive variables in Proxy objects. It seems there's a point at which we provide these objects to comlink (in the sharedWorker I believe) where it fails to parse the input. This PR ensures that the SQL parameters are raw when it reaches that point.

According to Discord user who reported this issue, the changeset fixes this problem (tested via dev package publish).

Copy link

changeset-bot bot commented Jul 8, 2024

🦋 Changeset detected

Latest commit: 275d320

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

This PR includes changesets to release 2 packages
Name Type
@powersync/vue Patch
vue-supabase-todolist 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

@Chriztiaan Chriztiaan requested a review from stevensJourney July 8, 2024 06:45
rkistner
rkistner previously approved these changes Jul 8, 2024
@Chriztiaan Chriztiaan merged commit 86cfa71 into main Jul 8, 2024
@Chriztiaan Chriztiaan deleted the fix/vue/useQuery-comlink-issue branch July 8, 2024 08:11
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.

3 participants