fix: PromisePoolCluster.of returns PromisePoolCluster instead of PoolNamespace#3261
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3261 +/- ##
==========================================
+ Coverage 88.77% 88.98% +0.20%
==========================================
Files 85 86 +1
Lines 13448 13504 +56
Branches 1535 1560 +25
==========================================
+ Hits 11939 12016 +77
+ Misses 1509 1488 -21
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
# Conflicts: # test/esm/integration/pool-cluster/test-promise-wrapper.test.mjs
|
Test added. |
PromisePoolCluster.of returns PromisePoolCluster instead of PoolNamespace
38c64fe to
9c0c292
Compare
|
Hey @jcmartineztiempo, thanks! Also, sorry for the lack of infos or support, December is usually very hectic 😅 |
|
Hi @wellwelwel, Yeah...the last test wouldn't finish due a sql syntax error in mysql 5.7. I'll look into it later. Don't worry about support...it's my first ever pool request!! |
|
Hi, @jcmartineztiempo, bringing this #3091 (comment) here:
Because of this, I figured that the work was not yet complete:
Sorry for the miscommunication. Could you rebase just to trigger the recent tests into your changes? @sidorares, just a friendly ping: could you enable the following option in the repository settings?
|
|
Hi, just enabled. Thanks |
Hey @jcmartineztiempo, this point is for @sidorares in MySQL2 repository 🙋🏻♂️ |
…sql2 into hotfix/fix_3091
…sql2 into hotfix/fix_3091
|
@wellwelwel this is enabled now |
|
@jcmartineztiempo, sorry for the long delay. I've checked the behavior from mysqljs and if the typings match. A concern was about a possible unintentional breaking change if someone checks the return using A suggestion before merging (to keep consistency), would be to move the |
|
Hi @wellwelwel, I just refactor the code to move |
|
Thanks, @jcmartineztiempo (and welcome to the project contributors) 🚀 The fix is already available in I've been holding the release for some time, because we depend on certain external factors. But you can follow the progress in #3377. |

Fixes #3091.