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 noticed on services that used transactions when trying to create a document, context.result is undefined.
Looking through the adapter code, the $create method passes the params.mongodb object to the insertMany and insertOne but does not pass it to the subsequent findMany or findOne:
I noticed on services that used transactions when trying to create a document, context.result is undefined.
Looking through the adapter code, the $create method passes the params.mongodb object to the insertMany and insertOne but does not pass it to the subsequent findMany or findOne:
I tested this and my transactions begin working again.
I looked over the rest of the adapter and looks like every other call passes the session in properly but haven't used them yet.
Steps to reproduce
Expected behavior
Created document should be returned as the result
Actual behavior
Result is undefined.
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
5.0.0-pre.27
NodeJS version:
v16.16.0
Operating System:
Linux debian
Browser Version:
N/A
React Native Version:
N/A
Module Loader:
N/A
The text was updated successfully, but these errors were encountered: