denodrivers / denodrivers/mongo

Is this module working with AWS DocumentDB?

Open
#403 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
511
Forks
89
PR merge metrics
No merged PRs in 30d

Description

Good morning folks, I am trying to use this module with DocumentDB but I always receive this error:

> Error: MongoError: "Connection failed: Cannot read properties of undefined (reading 'includes')"
> at MongoClient.connect (file:///app/vendor/deno.land/x/mongo@v0.32.0/src/client.ts:46:13)
> at connect (file:///app/src/utils/connection.js:15:18)
> at session (file:///app/src/controllers/session.js:10:22)
> at eventLoopTick (ext:core/01_core.js:183:11)
> at async dispatch (file:///app/vendor/deno.land/x/oak@v12.5.0/middleware.ts:80:7)
> at async dispatch (file:///app/vendor/deno.land/x/oak@v12.5.0/middleware.ts:80:7)
> at async dispatch (file:///app/vendor/deno.land/x/oak@v12.5.0/middleware.ts:80:7)
> at async cors (file:///app/vendor/deno.land/x/oak_cors@v0.1.1/src/cors.ts:204:5)
> at async middleware (file:///app/vendor/deno.land/x/oak_cors@v0.1.1/src/cors.ts:243:5)
> at async dispatch (file:///app/vendor/deno.land/x/oak@v12.5.0/middleware.ts:80:7)

That I think it is coming from here https://github.com/denodrivers/mongo/blob/main/src/utils/uri.ts#L42

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.