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

[WEB] Can't run a transaction inside exclusively #3089

Closed
davidmartos96 opened this issue Jul 11, 2024 · 1 comment
Closed

[WEB] Can't run a transaction inside exclusively #3089

davidmartos96 opened this issue Jul 11, 2024 · 1 comment

Comments

@davidmartos96
Copy link
Contributor

Describe the bug

I'm trying out the new exclusively feature and it seems to be failing on web when running a drift transaction inside a exclusively block.
On a VM environment it works correctly.

await db.exclusively(() async {
  await db.transaction(() async {
    ...
  });
});
@simolus3
Copy link
Owner

Thanks for the report! I've fixed this in drift version 2.19.1, you'll need a new worker though.

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

No branches or pull requests

2 participants