Add support for arbitrary keys in all "middleware-able" operation options #13629
Closed
2 tasks done
Labels
needs clarification
This issue doesn't have enough information to be actionable. Close after 14 days of inactivity
Prerequisites
馃殌 Feature Proposal
I propose to extend the solution implemented to address #10688 and add support for arbitrary option keys in all operations that invoke some middleware. I believe this is mostly an issue with the types, so I'll list those that could be improved IMO:
Perhaps there are some more?
Motivation
My motivation is the same as the one provided for #10688 - I wish to pass some data to my custom middleware, e.g. a flag to modify its behavior on a case-by-case basis.
Example
Equivalent code for
insertMany()
:The text was updated successfully, but these errors were encountered: