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

Having error 'transactionWithResult' should be called only from a coroutine after upgrading to 2.0.0-alpha03 #3404

Closed
rustamsmax opened this issue Aug 3, 2022 · 7 comments · Fixed by #3411

Comments

@rustamsmax
Copy link

image

@AlecKazakova
Copy link
Collaborator

whats your gradle config

@rustamsmax
Copy link
Author

Gradle version is 7.5
AGP version is 7.2.1

@AlecKazakova
Copy link
Collaborator

sorry I meant the sqldelight { } block inside of your gradle file

@rustamsmax
Copy link
Author

I didn't make any change there only declared database name and package name

@dellisd
Copy link
Collaborator

dellisd commented Aug 4, 2022

Is this in a generated file? And if so, can you post the associated query?

@rustamsmax
Copy link
Author

Yes it's in a generated file. It's a grouped statement
image

@dellisd
Copy link
Collaborator

dellisd commented Aug 5, 2022

Thanks! This is indeed a bug in the codgen (assuming you have generateAsync = true).

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 a pull request may close this issue.

3 participants