Skip to content

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
@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