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

fix(model): handle transactionAsyncLocalStorage option with insertMany() #14743

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

vkarpov15
Copy link
Collaborator

Fix #14738

Summary

Looks like we missed a spot when implementing transactionAsyncLocalStorage, we're not adding session option to insertMany(). I reviewed and don't see any other places in Model where we aren't setting session

Examples

Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, should this be added to #14742 before it is merged?

@hasezoey hasezoey added this to the 8.5.1 milestone Jul 11, 2024
@vkarpov15
Copy link
Collaborator Author

Yep, will do

@vkarpov15 vkarpov15 merged commit 70e8e19 into master Jul 12, 2024
46 checks passed
vkarpov15 added a commit that referenced this pull request Jul 12, 2024
@hasezoey hasezoey deleted the vkarpov15/gh-14738 branch July 12, 2024 16:50
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 this pull request may close these issues.

transactionAsyncLocalStorage not honored in bulk operations like insertMany
2 participants