feat: allow to specify ssl: true in connection options#3387
feat: allow to specify ssl: true in connection options#3387pkuczynski wants to merge 4 commits intosidorares:masterfrom
ssl: true in connection options#3387Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3387 +/- ##
=======================================
Coverage 88.97% 88.97%
=======================================
Files 86 86
Lines 13527 13532 +5
Branches 1564 1566 +2
=======================================
+ Hits 12035 12040 +5
Misses 1492 1492
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* Update 00-index.mdx * Create ssl.mdx * Update ssl.mdx * Update ssl.mdx * Update ssl.mdx * add default cert example * Update website/docs/documentation/ssl.mdx Co-authored-by: Weslley Araújo <[email protected]> * Update website/docs/documentation/ssl.mdx Co-authored-by: Weslley Araújo <[email protected]> * Update website/docs/documentation/ssl.mdx Co-authored-by: Weslley Araújo <[email protected]> * Update website/docs/documentation/ssl.mdx Co-authored-by: Weslley Araújo <[email protected]> * Update website/docs/documentation/ssl.mdx Co-authored-by: Weslley Araújo <[email protected]> * some changes * lint * Update website/docs/documentation/ssl.mdx --------- Co-authored-by: Weslley Araújo <[email protected]>
|
Thanks, @pkuczynski! I'll review your PR as soon as possible. @sidorares, feel free to review it first 🤝 @pkuczynski, the website (docs) has some customized components. Normally I don't suggest it to the contributors so as not to make it unnecessarily complicated (I put it in a personal queue to adjust it later). But to prevent confusion, I'm adding them as optional tips here 🙋🏻♂️ ExternalCodeEmbed
Tip With this component, plus the You can see a practical example by clicking in History
Tip Here we can refer to the next You can see a practical example by clicking in Stability
Tip In the documentation, instead of You can see a practical example in: All these suggestions are optional and you can find the documentation contribution guide at sidorares.github.io/node-mysql2/docs/contributing/website 💡 |
ssl: true in connection options
|
@pkuczynski, sorry for the delay. The node-mysql2/lib/connection_config.js Lines 144 to 147 in 36349eb I think it would be beneficial to keep the logic contained in the same place (especially as it's easier to maintain in the long-term), what do you think? |
Follow up for #3384, inspired by #3028