Skip to content

types: indicate support for mongodb abort - #15549

Merged
vkarpov15 merged 3 commits into
Automattic:8.17from
GalacticHypernova:patch-1
Jul 25, 2025
Merged

types: indicate support for mongodb abort#15549
vkarpov15 merged 3 commits into
Automattic:8.17from
GalacticHypernova:patch-1

Conversation

@GalacticHypernova

Copy link
Copy Markdown
Contributor

Summary

MongoDB Node.js driver introduced experimental support of AbortController usage in various methods, such as find/findOne/countDocuments/aggregate. This PR adds the necessary typing to indicate that mongoose also supports it.

Examples

@GalacticHypernova
GalacticHypernova marked this pull request as ready for review July 24, 2025 17:25
@vkarpov15
vkarpov15 requested a review from Copilot July 25, 2025 13:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

@vkarpov15 vkarpov15 added this to the 8.17 milestone Jul 25, 2025
@vkarpov15
vkarpov15 changed the base branch from master to 8.17 July 25, 2025 14:07

@vkarpov15 vkarpov15 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks 👍

For future reference, relevant node driver PR is mongodb/node-mongodb-native#4364

@vkarpov15
vkarpov15 merged commit da1f770 into Automattic:8.17 Jul 25, 2025
3 checks passed
@GalacticHypernova
GalacticHypernova deleted the patch-1 branch July 25, 2025 14:28
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.

3 participants