We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44f187c commit c14fe1cCopy full SHA for c14fe1c
src/cmap/connection.ts
@@ -284,6 +284,8 @@ export class Connection extends TypedEventEmitter<ConnectionEvents> {
284
private get supportsOpMsg(): boolean {
285
return (
286
this.description != null &&
287
+ // TODO(NODE-6672,NODE-6287): This guard is primarily for maxWireVersion = 0
288
+ maxWireVersion(this) >= 6 &&
289
!this.description.__nodejs_mock_server__
290
);
291
}
0 commit comments