You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm 99% certain this is a bug given TransactionResult inherits from Deferred.
You are right. After some debug I faced that only inheritors of async could work normally with awaitAll while TransactionResult just delegates to async.
I thinking about remove TransactionResult and just use a simple async instead. What do you think?
Assume
augmentItem(item)
is just a private function which executes 3 queries across various tables and I have nested transactions enabled on the DB.If I do:
It will fail on the awaitAll, saying the transaction is already closed.
On the other hand, the following works:
I'm 99% certain this is a bug given TransactionResult inherits from Deferred. This occurs on Exposed 1.17.6.
The text was updated successfully, but these errors were encountered: