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

$transaction does not return a value for interactive transactions #42

Closed
dilsher1 opened this issue Sep 17, 2023 · 1 comment
Closed

Comments

@dilsher1
Copy link
Contributor

dilsher1 commented Sep 17, 2023

First of all, thanks for this amazing library.

One issue I've noticed is that $transaction doesn't return a value for interactive transactions. I believe this could likely be remedied by just adding a return statement to line 186 to return the results of await actions(client) call.

https://github.com/demonsters/prisma-mock/blob/main/src/index.ts#L186

See the pull request for this issue here:
#43

@stijnvanderlaan
Copy link
Contributor

Thanks @dilsher1

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