New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: decode encoded value from urlParts.pathname
for database
option
#14963
Conversation
urlParts.pathname
for database
optionurlParts.pathname
for database
option
Do you have any suggestion for the unit test? @WikiRik Since the Utils does not include
We need to add a another PR that includes the |
Or skip the unit test also fine for me, since the |
I was thinking we could add unit tests for |
Targetting the v7 alpha release, for the #14963 unit testing.
Targetting the v7 alpha release, for the #14963 unit testing.
Hi @WikiRik did you have any inputs left on this PR or we good to go? |
Looks good to me, but I'll wait with approval until further comment by @wkrasnicki-vizlib |
Yes, this solves the issue. Thank you guys |
Glad it helps, thank you guys! |
🎉 This PR is included in version 7.0.0-alpha.17 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Pull Request Checklist
Please make sure to review and check all of these items:
yarn test
oryarn test-DIALECT
pass with this change (including linting)?Description Of Change
Close #14962
options.database
returning bad value for database connection, this affected to all database except theoptions.dialect
withpostgres
as the value.sequelize/src/utils/url.ts
Line 71 in a68b439
You can notice the strange thing by running this code with NodeJS:
Todos