Ian Clarkson 0626ed1f0b
feat: add support for node-redis v4.0.0 and newer (#8425)
- Fixes https://github.com/typeorm/typeorm/issues/8420
- v4.0.0 and newer of node-redis will no longer auto-connect, so we need to add that step
- For backwards compatibility, we check for the existence of a "v4" property so we don't try to call `connect` on older versions of the client
- A `legacyMode` flag exists in the new v4.0.0 of node-redis to keep a similar calling style without having to change any code
- Note that the legacyMode flag is **required** to be passed if the calling code isn't going to be changed
2021-12-11 03:57:09 +05:00
..
2019-01-18 14:42:20 +08:00
2019-01-18 14:42:20 +08:00
2019-01-18 14:42:20 +08:00
2020-01-21 12:56:13 +05:00
2021-01-11 18:00:53 +05:00
2019-03-09 18:30:38 +05:00
2019-01-18 14:42:20 +08:00
2019-01-18 14:42:20 +08:00
2019-01-18 14:42:20 +08:00
2019-01-18 14:42:20 +08:00
2019-01-18 14:42:20 +08:00
2019-01-18 14:42:20 +08:00