Is this module working with AWS DocumentDB?
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/[email protected]/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/[email protected]/middleware.ts:80:7) at async dispatch (file:///app/vendor/deno.land/x/[email protected]/middleware.ts:80:7) at async dispatch (file:///app/vendor/deno.land/x/[email protected]/middleware.ts:80:7) at async cors (file:///app/vendor/deno.land/x/[email protected]/src/cors.ts:204:5) at async middleware (file:///app/vendor/deno.land/x/[email protected]/src/cors.ts:243:5) at async dispatch (file:///app/vendor/deno.land/x/[email protected]/middleware.ts:80:7)
That I think it is coming from here https://github.com/denodrivers/mongo/blob/main/src/utils/uri.ts#L42
@AfMyte
I have never used AWS DocumentDB. You may test npm:mongodb package with Deno npm compat mode.