Skip to content

[Fix] refreshSchema not working correctly in web #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 21, 2024
Merged

Conversation

Chriztiaan
Copy link
Contributor

Found an issue in the powersync tests where the web database throws an error when invoking refreshSchema. This was related to web's get being implemented slightly different to native. This PR updates get/getOptional to match the native implementation and also changes refreshSchema to use getAll instead of get for good measure.

@Chriztiaan Chriztiaan marked this pull request as ready for review August 21, 2024 10:52
@Chriztiaan
Copy link
Contributor Author

Published.

@Chriztiaan Chriztiaan merged commit 3c2b4d2 into main Aug 21, 2024
5 of 6 checks passed
@rkistner
Copy link
Contributor

Checks failed with:

Packages dependent on a pre-release of another package should themselves be published as a pre-release version. If this package needs sqlite3_web version 0.1.2-wip, consider publishing the package as a pre-release instead.

This is safe to ignore for now.

@rkistner rkistner deleted the fix/web-get branch August 21, 2024 11:01
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.

2 participants