Skip to content
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

Fix "Readwrite transaction in liveQuery context" (issue 1831) #1832

Merged
merged 4 commits into from
Nov 29, 2023

Conversation

dfahlander
Copy link
Collaborator

No description provided.

Removed the old test that never reproduced anything.
If the onFinally callback returns a promise, wait for it before returning value. And if that promise rejects, return that rejection instead. This all according to spec. Earlier version did just call onFinally() and then return the original value - it did not allow for the onFinally to perform async work before continuing and it did not reject if the onFinally returned rejected promise or threw error.
@dfahlander dfahlander merged commit 09058ea into master Nov 29, 2023
5 checks passed
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.

1 participant