feat: Send DriverInfo to MongoDB client (#11214)

This commit is contained in:
Alex Bevilacqua 2025-03-31 12:57:36 -04:00 committed by GitHub
parent 81bb9d53e8
commit a29e04750d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -553,6 +553,10 @@ export class MongoDriver implements Driver {
}
}
mongoOptions.driverInfo = {
name: "TypeORM",
}
if ("poolSize" in options) {
mongoOptions["maxPoolSize"] = options["poolSize"]
}