Merge branch 'develop' into BUDI-7456/user_cache_bulk_get

This commit is contained in:
Adria Navarro 2023-09-18 14:37:13 +02:00 committed by GitHub
commit 6aa5a9c545
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "2.10.9-alpha.2", "version": "2.10.9-alpha.3",
"npmClient": "yarn", "npmClient": "yarn",
"packages": [ "packages": [
"packages/*" "packages/*"

View File

@ -158,6 +158,12 @@ class MySQLIntegration extends Sql implements DatasourcePlus {
) { ) {
config.ssl.rejectUnauthorized = config.rejectUnauthorized config.ssl.rejectUnauthorized = config.rejectUnauthorized
} }
// The MySQL library we use doesn't directly document the parameters that can be passed in the ssl
// object, it instead points to an older library that it says it is mostly API compatible with, that
// older library actually documents what parameters can be passed in the ssl object.
// https://github.com/sidorares/node-mysql2#api-and-configuration
// https://github.com/mysqljs/mysql#ssl-options
// @ts-ignore // @ts-ignore
delete config.rejectUnauthorized delete config.rejectUnauthorized
this.config = { this.config = {